bool Es llamado en el cliente cuando se conecta a un servidor.
This checks if the NetworkManager has a client and that it is connected to a server.
This is more specific than NetworkClient.isActive, which will be true if there are any clients active, rather than just the NetworkManager's client.