'compare incoming labels against current labels'

def compare_labels(self, host_labels):

    for label in self.labels:
        if ((label['key'] not in host_labels) or (label['value'] != host_labels[label['key']])):
            return False
    return True
