Return the list of keys of the given record that satisfy the isValidKey predicate.
isValidKey
Array of valid keys
Return the list of keys of the given record that satisfy the
isValidKey
predicate.