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