original_string: protected function objectMethodExists($object, $method)
      {
          if (method_exists($object, 'methodExists')) {
              return $object->methodExists($method);
          }
  
          return method_exists($object, $method);
      }
code: protected function objectMethodExists($object, $method)
      {
          if (method_exists($object, 'methodExists')) {
              return $object->methodExists($method);
          }
  
          return method_exists($object, $method);
      }
code_tokens: protected function objectMethodExists ( $ object , $ method ) { if ( method_exists ( $ object , 'methodExists' ) ) { return $ object -> methodExists ( $ method ) ; } return method_exists ( $ object , $ method ) ; }
docstring: Internal helper for method existence checks.
  
  @param  object $object
  @param  string $method
  @return boolean
docstring_tokens: Internal helper for method existence checks .