condenseToOne = function (value, allowed) {
  if (allowed.indexOf(1) !== -1 && value.length > 1) {
    for (var i = 1; i < value.length; i++) {
      if (value[i] !== value[0]) {
        return false;
      }
    }
    return true;
  }
  return false;
}
Checks to see if a series of values can be condensed down to a singular value

@param {array} value - The array of values to check
@param {array} allowed - The parser options to specify the levels allowed to condense to
@returns {boolean} Whether the values can be condensed to a singular value