Your IP : 3.15.3.17
--- title: hasAttribute --- ```php hasAttribute ( string $name ) : bool ``` | Parameter | Description | --------- | ----------- | `name` | Name of the attribute. Returns true if the current node has an attribute with the specified name. |