 (defonce cached-reactions {})
 
 (defn ^boolean reactive? []
-  (some? *ratom-context*))
+  (not (nil? *ratom-context*)))
 
 (defonce ^boolean debug false)
 (defonce ^boolean silent false)

        (set! state res)
        ;; Use = to determine equality from reactions, since
        ;; they are likely to produce new data structures.
        (when (and (some? watches)
                   (not= oldstate res))
          (-notify-watches this oldstate res)))
      res))


      newval))

  ISwap
  (-swap! [a f]          (-reset! a (f state)))
  (-swap! [a f x]        (-reset! a (f state x)))
  (-swap! [a f x y]      (-reset! a (f state x y)))
  (-swap! [a f x y more] (-reset! a (apply f state x y more)))

  IEquiv
  (-equiv [_ other]
