Zend\Ldap\Node\AbstractNode::existsAttribute
Checks whether a given attribute exists.
If $emptyExists is false empty attributes (containing only array()) are treated as non-existent returning false. If $emptyExists is true empty attributes are treated as existent returning true. In this case method returns false only if the attribute name is missing in the key-collection.
Signature
public function existsAttribute(string
$name,
[bool
$emptyExists = false] )
Parameters
$name
— string$emptyExists
— object
Returns
- bool