contains method

bool contains(
  1. NotusAttributeKey key
)

Returns true if attribute with key is present in this set.

Only checks for presence of specified key regardless of the associated value.

To test if this set contains an attribute with specific value consider using containsSame.

Implementation

bool contains(NotusAttributeKey key) => _data.containsKey(key.key);