contains method

bool contains(
  1. K key
)

Implementation

bool contains(K key) => get(key) != null;