code: function(list, property) {
        if (_.isArray(list)) {
          return _.some(list, function(item) { return _.has(item, property); });
        } else {
          return _.has(list, property);
        }
      }
docs: The first parameter may also be a single object, in which case this function returns true if that object has the named property.