@classmethod
def isabreaker(cls, c, alist, esc):
    """ where we find char in c within a list alist that is not escaped by esc """
    for i, x in enumerate(alist):
        if c == x and alist[i - 1] != esc:
            return x
    return 0
