Added a method to check whether the given player is ready or not.