def METHOD_NAME(self, key_map: Mapping[str, str]) -> 'cirq.Condition':
    condition = self
    for k in self.keys:
        condition = condition.replace_key(k, mkp.with_measurement_key_mapping(k, key_map))
    return condition