condenseToThree = function (value, allowed) {
  if (allowed.indexOf(3) !== -1 && value.length > 3) {
    if (value[1] === value[3] ) {
      return true;
    }
  }
  return false;
}
Checks to see if a series of values can be condensed down to three values

@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 three values