function contains(arr, v) {
        var nIndex,
            nLen = arr.length;
        for (nIndex = 0; nIndex < nLen; nIndex++) {
            if (arr[nIndex][1] === v) {
                return true;
            }
        }
        return false;
    }
Checks if the value exist in the array.
@param arr
@param v
@returns {boolean}