Check whether a specific attribute with a name is available
public hasAttribute ( string $key ) : boolean | ||
$key | string | name of attribute |
return | boolean | is attribute available |
public hasAttribute ( string $key ) : boolean | ||
$key | string | name of attribute |
return | boolean | is attribute available |