Internal magic checker

Magic method called when `issetProp()`, `isset($this->prop)` or `empty($this->prop)` are invoked.

@param string $name The name of the property to get
@return bool This will return `true` if the property exists, `false` otherwise
962387
protected function _invokeIsset($name)
    {
        if (!self::__isInvokable($name)) {
            return $this;
        }
        $is_static = self::__isStatic($name);
        $property = $this->findPropertyName($name);
        return !empty($property);
    }
282091
public function hasAttribute($name)
    {
        return isset($this->properties[$name]) || isset($this->getters['get' . ucfirst($name)]);
    }
737791
public function __isset($name)
    {
        return isset($this->children[$name]) && !is_null($this->children[$name]->getValue());
    }
982587
public function hasOwnProperty($name) {
    if (!$this->hasProperty($name)) return FALSE;
    
    $property = $this->getProperty($name);
    return $property->getDeclaringClass() instanceof GClass && $property->getDeclaringClass()->equals($this);
  }
690992
public function __isset($name)
    {
        $variables = $this->getVariables();
        $method = 'get' . ucfirst($name);
        $flag = method_exists($variables, $method);


        return $flag;
    }
715330
public function __isset($name)
    {
        if ($method = $this->getPresenterMethodFromVariable($name)) {
            $result = $this->$method();

            return isset($result);
        }

        if (is_array($this->object)) {
            return isset($this->object[$name]);
        }

        return isset($this->object->$name);
    }
17565
public function __isset($name) {
        if (array_key_exists($name, self::$coursecatfields)) {
            return isset($this->$name);
        }
        return false;
    }
171768
public function __isset($name)
    {
        if (isset($this->deprecatedProperties[$name])) {
            $method = $this->deprecatedProperties[$name]['get'];
            deprecationWarning(
                "Accessing {$name} as a property will be removed in 4.0.0. " .
                "Use {$method} instead."
            );

            return isset($this->{$name});
        }

        deprecationWarning(
            'Accessing routing parameters through __isset will removed in 4.0.0. ' .
            'Use getParam() instead.'
        );

        return isset($this->params[$name]);
    }
863339
public function has($name):bool
    {
        return ((isset($this->session[$name]) && null != $this->session[$name])? true : false);
    }
694286
public function __isset($name)
    {
        // If the key was loaded, return true
        if (array_key_exists($name, $this->attributes)) {
            return true;
        }

        // If it is a not loaded relation, return true
        if ($this->isRelation($name)) {
            return true;
        }

        // At least return true if this key can be lazy loaded
        return $this->isLazyLoadKey($name);
    }
536507
public function __isset($name) {
		if (strpos($name, '.')) {
			return $this->_getNested($name) !== null;
		}
		return isset($this->_updated[$name]);
	}
249183
public function __empty($name) {
        if (isset(self::$standardproperties[$name])) {
            $value = $this->__get($name);
            return empty($value);
        }
        return true;
    }
961948
public function __isset($name)
    {
        $normalized = lcfirst($name);
        $property = "_{$normalized}";
        if (property_exists($this, $property)) {
            return true;
        }
        return false;
    }
743646
public function __isset($name) {
    if (Tilmeld::$config['email_usernames'] && $name == 'username') {
      return (parent::__isset('email') || parent::__isset('username'));
    }
    return parent::__isset($name);
  }
120702
public function __isset( $name ) {

		$name = (string) $name;

		if ( in_array( $name, array( '_data', 'data', 'total', 'total_rows', 'zebra' ), true ) ) {
			return true;
		} elseif ( in_array( $name, array( 'meta', 'meta_properties', 'meta_extra' ), true ) ) {
			return true;
		} else {
			return isset( $this->new->{$name} );
		}
	}
1166245
public function propertyExists($name)
    {
        $properties = $this->getProperties();
        return empty($properties) || in_array($name, $properties);
    }
1043534
public function hasProperty($name)
    {
        $result = false;

        //Handle computed properties
        if(!parent::offsetExists($name))
        {
            if(!empty($name))
            {
                $properties = $this->getComputedProperties();

                if(isset($properties[$name])) {
                    $result = true;
                }
            }
        }
        else $result = true;

        return $result;
    }