# tf_agents.utils.common.has_eager_been_enabled

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/utils/common.py#L154-L157) |

Returns true iff in TF2 or in TF1 with eager execution enabled.

    tf_agents.utils.common.has_eager_been_enabled()