@classmethod
def if_pass(cls, src_status, dest_status):
    if (src_status not in cls.RULES):
        return False
    if (dest_status not in cls.RULES[src_status]):
        return False
    else:
        return True
@classmethod
def if_pass(cls, src_status, dest_status):
    if (src_status not in cls.RULES):
        return False
    if (dest_status not in cls.RULES[src_status]):
        return False
    else:
        return True