function getMissingProps(data) {
  var containsKey = _.partial(_.contains, _.keys(data));
  return _.filter(required, function (req) {
    return !containsKey(req);
  });
}
function getMissingProps(data) {
  var containsKey = _.partial(_.contains, _.keys(data));
  return _.filter(required, function (req) {
    return !containsKey(req);
  });
}
function getMissingProps ( data ) { var containsKey = _ . partial ( _ . contains , _ . keys ( data ) ) ; return _ . filter ( required , function ( req ) { return ! containsKey ( req ) ; } ) ; }
return an array containing all the missing required
properties
return an array containing all the missing required properties