Refactored isMemberOfLobby.