has method

bool has(
  1. K key
)

Checks whether data has key

Implementation

bool has(K key) {
  return data.containsKey(key);
}