# tfma.metrics.has_attributions_metrics

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/model-analysis/blob/v0.46.0/tensorflow_model_analysis/metrics/attributions.py#L40-L50) |

Returns true if any of the metrics_specs have attributions metrics.

    tfma.metrics.has_attributions_metrics(
        metrics_specs: Iterable[https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/MetricsSpec]
    ) -> bool