function objectContains(partial, object) {
  var keys = Object.keys(partial);

  return keys.map(function(el) {
    return (object[el] !== undefined) && (object[el] == partial[el]);
  }).indexOf(false) == -1;

}
@description
return if object contains partial object
@param partial{object}
@param object{object}
@returns {boolean}