Returns true if key is valid (in the tree).
true
key
bool isValidEntry(K key, V value) => isInTree(key);