# tf.experimental.dtensor.heartbeat_enabled

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.13.1/tensorflow/dtensor/python/config.py#L168-L171) |

Returns true if DTensor heartbeat service is enabled.

    tf.experimental.dtensor.heartbeat_enabled() -> bool