def _is_from_irobot(self, data):
    if (data == self.roomba_message):
        return False
    json_response = json.loads(data)
    if (('Roomba' in json_response['hostname']) or ('iRobot' in json_response['hostname'])):
        return True
    return False
def _is_from_irobot(self, data):
    if (data == self.roomba_message):
        return False
    json_response = json.loads(data)
    if (('Roomba' in json_response['hostname']) or ('iRobot' in json_response['hostname'])):
        return True
    return False