adaptors/backbone/base_model.js
function hasAtLeastOneKey(target, attrs) {
    var attrsLen = attrs.length;
    var i = 0;
    var counter = 0;
    for (; i < attrsLen; i++) {
      if (target[attrs[i]] !== undefined) {
        counter++;
      }
    }
    return !!counter;
  }
function hasAtLeastOneKey(target, attrs) {
    var attrsLen = attrs.length;
    var i = 0;
    var counter = 0;
    for (; i < attrsLen; i++) {
      if (target[attrs[i]] !== undefined) {
        counter++;
      }
    }
    return !!counter;
  }
function hasAtLeastOneKey ( target , attrs ) { var attrsLen = attrs . length ; var i = 0 ; var counter = 0 ; for ( ; i < attrsLen ; i ++ ) { if ( target [ attrs [ i ] ] !== undefined ) { counter ++ ; } } return ! ! counter ; }
Checks if target object has at least one attribute from attrs array.

@param  {Object}   target  Object to check for attributes
@param  {Array}    attrs   Array of attributes

@return {Boolean}
Checks if target object has at least one attribute from attrs array .