Indicates whether key is contained within the items.
key
bool contains(K key) => items.keys.contains(key);