Returns true if the key references an existing value, null or non-null.
key
@override bool exists(int key) => key >= 0 && key < length;