Persistence of discrete dynamical systems in infinite dimensional state spaces