title: Object present or true/false
body: <p>How would i do the below with Javascript?</p>
  
  <pre><code>var object
  
  function() {
      return {
          object: Return true if object exists or object is set to true, or false if set to false, if object doesnt exisit return false
      }
  }
  </code></pre>