code: private function genericParamValidation(Event $event)
      {
          $params = $event->getCustomParams();
          return (count($params) >= 1 && count($params) <= 2);
      }
docs: Verify the combination of parameters are valid
  
  @param \Phergie\Irc\Plugin\React\Command\CommandEvent $event
  @return boolean