original_string: protected function validateCmsObject($name)
      {
          if ($name === $this->obj->getFilePath()) {
              return true;
          }
  
          if ($fallbackObj = $this->findFallbackObject($name)) {
              $this->obj = $fallbackObj;
              return true;
          }
  
          return false;
      }
code: protected function validateCmsObject($name)
      {
          if ($name === $this->obj->getFilePath()) {
              return true;
          }
  
          if ($fallbackObj = $this->findFallbackObject($name)) {
              $this->obj = $fallbackObj;
              return true;
          }
  
          return false;
      }
code_tokens: protected function validateCmsObject ( $ name ) { if ( $ name === $ this -> obj -> getFilePath ( ) ) { return true ; } if ( $ fallbackObj = $ this -> findFallbackObject ( $ name ) ) { $ this -> obj = $ fallbackObj ; return true ; } return false ; }
docstring: Internal method that checks if the template name matches
  the loaded object, with fallback support to partials.
  
  @return bool
docstring_tokens: Internal method that checks if the template name matches the loaded object with fallback support to partials .