Checks if the object has any attribute with the name of key
key
@override bool containsKey(Object? key) => keys.contains(key);