def checkIfTwo(arr): if (isSubList(openTwoPatter1, arr) or isSubList(openTwoPatter2, arr) or isSubList(openTwoPatter3, arr) or isSubList(openTwoPatter4, arr)): return (True) return (False)
def checkIfGappedThree(arr): if (isSubList(gappedThreePattern1, arr) or isSubList(gappedThreePattern2, arr) or isSubList(gappedThreePattern3, arr) or isSubList(gappedThreePattern4, arr)): return (True) return (False)
def checkIfOpenThree(arr): if (isSubList(openThreePattern1, arr) or isSubList(openThreePattern2, arr) or isSubList(openThreePattern3, arr) or isSubList(openThreePattern4, arr) or isSubList(openThreePattern5, arr)): return (True) return (False)
def checkIfGappedFour(arr): if (isSubList(gappedFourPattern1, arr) or isSubList(gappedFourPattern2, arr) or isSubList(gappedFourPattern3, arr)): return (True) return (False)
def checkIfOpenFour(arr): if (isSubList(openFourPattern1, arr) or isSubList(openFourPattern2, arr) or isSubList(openFourPattern3, arr)): return (True) return (False)
def checkIfWin(arr): if (isSubList(winningPattern, arr)): return (True) return (False)