Returns
true
if this set defines an attribute with the same
name and an equal value. If such an attribute is not found locally,
it is searched through in the resolving parent hierarchy.
Returns:
{@code true} if the set defines the attribute with an
equal value, either locally or through its resolving parent
Parameters:
-
name - the non-null attribute name
-
value - the value
Throws:
-
NullPointerException - if either {@code name} or
{@code value} is {@code null}