def is_cluster_validation_in_status(self, validation_section, validation_id, statuses):
    log.info('Is cluster %s validation %s in status %s', self.id, validation_id, statuses)
    try:
        return (utils.get_cluster_validation_value(self.api_client.cluster_get(self.id), validation_section, validation_id) in statuses)
    except BaseException:
        log.exception('Failed to get cluster %s validation info', self.id)
def is_cluster_validation_in_status(self, validation_section, validation_id, statuses):
    log.info('Is cluster %s validation %s in status %s', self.id, validation_id, statuses)
    try:
        return (utils.get_cluster_validation_value(self.api_client.cluster_get(self.id), validation_section, validation_id) in statuses)
    except BaseException:
        log.exception('Failed to get cluster %s validation info', self.id)