code: def isInRoom(self, _id):
          
          if SockJSRoomHandler._room.has_key(self._gcls() + _id):
              if self in SockJSRoomHandler._room[self._gcls() + _id]:
                  return True
          return False
docs: Check a given user is in given room