The ready status of a cluster node (legacy)

def kube_node_status_ready(self, metric, scraper_config):
        """ The ready status of a cluster node (legacy)"""
        service_check_name = scraper_config['namespace'] + '.node.ready'
        for sample in metric.samples:
            node_tag = self._label_to_tag("node", sample[self.SAMPLE_LABELS], scraper_config)
            self._condition_to_service_check(
                sample,
                service_check_name,
                self.condition_to_status_positive,
                tags=[node_tag] + scraper_config['custom_tags'],
            )