title: How can I determine if an object is empty or not
body: <p>I have a situation where I need to determine if an object is empty or not.  I cannot figure out the if statement to make this work.</p>
  
  <pre><code>function test_isObjectEmpty(){
    var responces = {};
  //  var responces = {'test':'test'};
    var result = "";
  
    if (responces == {}){    // this does not work
      result ="Nothing found"; 
    } else {
      result ="Responce found";
    }
    Logger.log(result)
  }
  </code></pre>