Is there a way to check whether `redis` is connected?