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

def get_device_name(self, device):

    filter_named = [item[0] for item in self.last_results['dhcpd_lease'] if (item[2] == device)]
    if ((not filter_named) or (not filter_named[0])):
        return None
    return filter_named[0]
