def parseComparisonOpt(self, tokens, index):
        comparison = None
        if index < len(tokens): #at least one more token
                #if at least one more token could be connective or comparision
            comparison = tokens[index]
            if comparison in Comparisons: #
                index +=1 #so eat token
            else:
                comparison = None

        return (comparison, index)
Resolve namespace aliases for the unprefixed namespaces found on
dataset/ETHPy150Open ioflo/ioflo/ioflo/base/building.py/Builder.parseComparisonOpt--crossover with--dataset/ETHPy150Open STIXProject/python-stix/stix/utils/nsparser.py/NamespaceInfo._resolve_unprefixed