function checkSequence(ele, index, array){

      if(index === array.length - 1)//isLastCard
        return true;