valid-not-seq? function.