contains method

bool contains(
  1. K key,
  2. V value
)

Return true if the given key entry exists, and its set contains the given value.

Implementation

bool contains(K key, V value) => get(key).contains(value);