src/DynamicMethodTrait.php
public function hasGlobalMethod($name)
    {
        return
            isset($this->_appScopeTrait) &&
            isset($this->app->_hookTrait) &&
            $this->app->hookHasCallbacks('global-method-'.$name);
    }
public function hasGlobalMethod($name)
    {
        return
            isset($this->_appScopeTrait) &&
            isset($this->app->_hookTrait) &&
            $this->app->hookHasCallbacks('global-method-'.$name);
    }
public function hasGlobalMethod ( $ name ) { return isset ( $ this -> _appScopeTrait ) && isset ( $ this -> app -> _hookTrait ) && $ this -> app -> hookHasCallbacks ( 'global-method-' . $ name ) ; }
Return true if such global method exists.

@param string $name Name of the method

@return bool
Return true if such global method exists .