Return if this object has specified method (either native or dynamic).

@param string $name Name of the method

@return bool
179502
public function hasMethod($name)
    {
        return method_exists($this, $name)
            || isset($this->hooks['method-'.$name])
            || isset($this->app->hooks['global-method-'.$name]);
    }
437511
public function __isset($name)
    {
        if (is_object($this->value)) {
            return isset($this->value->{$name});
        }

        if (is_array($this->value) || $this->value instanceof ArrayObject) {
            return isset($this->value[$name]);
        }

        return false;
    }
85680
public function __isset($name)
    {
        $camelizeName = $this->__buildCamelizeName($name);

        $getter = 'get' . $camelizeName;
        if (method_exists($this, $getter))
        {
            return null !== $this->$getter();
        }
        else
        {
            return false;
        }
    }
232822
public function has($name)
    {
        $name = strtolower((string) $name);

        $mapping = $this->getMapping();

        return isset($mapping[$name]);
    }
699895
public function __isset($name)
    {
        return ($name && parent::__isset($name)) || isset($this->params[$name]);
    }
336908
public function __isset($name) {
        return isset($this->$name) ||
            ($getter = Toolkit::toCamelCase("get $name")) && method_exists($this, $getter);
    }
198188
public function hasField(string $name) : bool
    {
        return isset($this->fields[$name]) && $this->fields[$name];
    }
1054647
public function hasParameter(string $name): bool
    {
        return isset($this->parameters[$name]) || array_key_exists($name, $this->parameters);
    }
47896
public function hasGlobalMethod($name)
    {
        return
            isset($this->_appScopeTrait) &&
            isset($this->app->_hookTrait) &&
            $this->app->hookHasCallbacks('global-method-'.$name);
    }
610650
public static function has($name)
    {
        empty(self::$init) && self::init();

        return isset($_SESSION[$name]) ? true : false;
    }
28978
public function hasProperty($name)
    {
        static $vars = null;
        if (! $vars) {
            $vars = get_object_vars($this);
        }

        return array_key_exists($name, $vars);
    }
721335
public static function has(string $name)
    {
        $names = Imi::parseDotRule($name);
        if (isset($names[0]))
        {
            $first = array_shift($names);
            if(isset(static::$configs[$first]))
            {
                return null !== static::$configs[$first]->get($names, null);
            }
            else
            {
                return false;
            }
        }
        else
        {
            return false;
        }
    }
293882
public function has(string $name): bool
    {
        try {
            $this->dotGet($name);
        } catch (DotNotFoundException $e) {
            return false;
        }

        return true;
    }
863307
public function __isset($name)
	{
		if (method_exists($this, 'get_' . $name) || isset($this->$name))
		{
			return true;
		}
		else
		{
			return false;
		}
	}
1095502
public function hasProperty($name)
    {
        if (isset($this->properties[$name])) {
            return true;
        } else {
            $extendsClassDefinition = $this->getExtendsClassDefinition();
            if ($extendsClassDefinition) {
                if ($extendsClassDefinition->hasProperty($name)) {
                    return true;
                }
            }

            return false;
        }
    }
1147205
public function isMixedMethod($name)
    {
        $result   = false;
        $delegate = $this->getDelegate();

        if (!($delegate instanceof ObjectMixable)) {
            $result = $delegate->isMixedMethod($name);
        }

        return $result;
    }
430405
public function providesMethod($name)
    {
        if (method_exists($this, $name)) {
            return true;
        }
        if ($this->text instanceof Generic) {
            return $this->text->providesMethod($name);
        }
        return false;
    }