code: protected boolean checkHandler(RoomHandlerClass handler, 
              ApiRoom roomAgent, Object user) {
          return (handler.getRoomClass().isAssignableFrom(roomAgent.getClass())) &&
                 (roomAgent.getName().startsWith(handler.getRoomName()));
      }
docs: Validate the handler
  
  @param handler structure of handler class
  @param roomAgent room agent object
  @param user user agent object
  @return true or false