(note? x)

Source

(defn note? [x] (not= :clojure.spec.alpha/invalid (parse-note x)))