'Return the name of the given device or None if we don\'t know.'

def get_device_name(self, device):

    if (not self.last_results):
        return None
    for client in self.last_results:
        if (client.mac == device):
            return client.name
    return None
