original_string: protected function isValidMenuItemClass($className)
      {
          if (!isset($this->checkedClasses[$className]))
          {
              $this->checkedClasses[$className] = $this->hasParentClass($className, 'C33s\\MenuBundle\\Item\\MenuItem');
          }
  
          return $this->checkedClasses[$className];
      }
code: protected function isValidMenuItemClass($className)
      {
          if (!isset($this->checkedClasses[$className]))
          {
              $this->checkedClasses[$className] = $this->hasParentClass($className, 'C33s\\MenuBundle\\Item\\MenuItem');
          }
  
          return $this->checkedClasses[$className];
      }
code_tokens: protected function isValidMenuItemClass ( $ className ) { if ( ! isset ( $ this -> checkedClasses [ $ className ] ) ) { $ this -> checkedClasses [ $ className ] = $ this -> hasParentClass ( $ className , 'C33s\\MenuBundle\\Item\\MenuItem' ) ; } return $ this -> checkedClasses [ $ className ] ; }
docstring: Check if the given class is a valid MenuItem class.
  
  @param string $className
  
  @return boolean
docstring_tokens: Check if the given class is a valid MenuItem class .