(contains? session id attr)

Returns true if the session contains a fact with the given id and attribute.

Source

(defn contains? "Returns true if the session contains a fact with the given id and attribute." [session id attr] (clojure.core/contains? (:id-attr-nodes session) [id attr]))