'assert equality of C and P status'

def assert_eq_status(self):

    for signal in self.c.flags:
        if (self.c.flags[signal] == (not self.p.flags[CondMap[signal]])):
            return False
    return True
