final public function hasAttribute (string $attribute) : bool
	{
		$objectAttributes = $this->attributes();
		return array_key_exists($attribute, $objectAttributes);
	}
final public function hasAttribute (string $attribute) : bool
	{
		$objectAttributes = $this->attributes();
		return array_key_exists($attribute, $objectAttributes);
	}
final public function hasAttribute ( string $ attribute ) : bool { $ objectAttributes = $ this -> attributes ( ) ; return array_key_exists ( $ attribute , $ objectAttributes ) ; }
Checks if an object has given attribute.
@param string $attribute
@return bool
Checks if an object has given attribute .