code: public function isMethodHidden($methodName)
      {
          if (!method_exists($this, $methodName)) {
              throw new Exception(500, "The method '$methodName' does not exist in ".get_called_class());
          }
          return isset($this->hiddenMethods[$methodName]);
      }
docs: Is a method currently hidden.
  
  This is used to determine if it should be indexed or not.
  
  @param $methodName
  @return bool
  @throws Exception