def METHOD_NAME(self):
    if len(self.values) != len(self.col_names):
        raise ValueError("When creating SingleMetricValue, length of values "
                         "and length of col_names should be equal")
    if not (len(self.host_party_ids) == len(self.host_values) == len(self.host_col_names)):
        raise ValueError("When creating SingleMetricValue, length of values "
                         "and length of col_names and host_party_ids should be equal")