code: function isEmptyObject(obj) {
      if (obj === null) {
          return true;
      }
      if (!isObject(obj)) {
          return false;
      }
  
      for (var key in obj) {
          if (obj.hasOwnProperty(key) && obj[key]) {
              return false;
          }
      }
  
      return true;
  }
docs: Return true if an object and is empty
  @param obj
  @returns {boolean}