       (.get (str "feature-" (name feature)))))
 
 (defn set-in-query-string? [feature]
-  (not (nil? (get-in-query-string feature))))
+  (some? (get-in-query-string feature)))
 
 (defn enabled-in-query-string? [feature]
   (feature-flag-value-true? (get-in-query-string feature)))

  (:require [goog.net.cookies :as cookies]
            [frontend.utils.launchdarkly :as ld])
  (:import goog.Uri))

(defn- feature-flag-value-true? [value]
  (= value "true"))

  default."
  [feature]
  (let [feature-name (name feature)]
    (cond
      (set-in-query-string? feature-name) (get-in-query-string feature-name)
      (ld/exists? feature-name) (ld/feature-on? feature-name)
      (contains? feature-manifest feature-name) (get feature-manifest feature-name)
      (some? (get-in-cookie feature-name)) (enabled-in-cookie? feature-name))))
