pub(crate) fn is_valid_key_path( key_path: &StringOrStringSequence, ) -> Result<bool, Error>
https://www.w3.org/TR/IndexedDB-2/#valid-key-path