in components/dpu-workflow/src/utils/gcs_utils.py [0:0]
def is_match(self, match_types: list[str], threshold_score: float):
return (
any(match_type.lower() == self.type.lower() for match_type in match_types)
and self.confidence > threshold_score
)