def METHOD_NAME(self, expected):
    newOff = self.dmesgOff
    for i in range(0, 3):
        dmesg = check_output("/sbin/dmesg")
        newOff = len(dmesg)
        if newOff >= self.dmesgOff:
            dmesg = dmesg[self.dmesgOff:]
        for line in dmesg.splitlines():
            try:
                if str(line).find(expected) >= 0:
                    self.dmesgOff = newOff
                    return True
            except:
                pass
        sleep(0.5)
    self.dmesgOff = newOff
    return False