def regs_are_sequential(self):
    if (len(self.regs) <= 1):
        return True
    prev_reg = self.regs[0]
    for i in range(1, len(self.regs)):
        curr_reg = self.regs[i]
        if ((prev_reg + 1) != curr_reg):
            return False
    return True
def regs_are_sequential(self):
    if (len(self.regs) <= 1):
        return True
    prev_reg = self.regs[0]
    for i in range(1, len(self.regs)):
        curr_reg = self.regs[i]
        if ((prev_reg + 1) != curr_reg):
            return False
    return True