function containsTemplateObject(obj, list) {
  for (var i = 0; i < list.length; i++) {
    if (isTemplateObjectEqual(list[i], obj)) {
      return true;
    }
  }

  return false;
}
/**
 * Returns a boolean after checking if the object exists in the array.
 *   true - if the object exists, false otherwise
 *
 * @param {Object} obj - The object who existence is to be checked.
 * @param {Array} list - List of objects.
 */
Returns a boolean after checking if the object exists in the array.
true - if the object exists, false otherwise

@param {Object} obj - The object who existence is to be checked.
@param {Array} list - List of objects.
Returns a boolean after checking if the object exists in the array . true - if the object exists false otherwise @param { Object } obj - The object who existence is to be checked . @param { Array } list - List of objects .
function containsTemplateObject(obj, list) {
  for (var i = 0; i < list.length; i++) {
    if (isTemplateObjectEqual(list[i], obj)) {
      return true;
    }
  }
  return false;
}
function containsTemplateObject ( obj , list ) { for ( var i = 0 ; i < list . length ; i ++ ) { if ( isTemplateObjectEqual ( list [ i ] , obj ) ) { return true ; } } return false ; }
Returns a boolean after checking if the object exists in the array.
Returns a boolean after checking if the object exists in the array .