# tf_agents.utils.eager_utils.has_self_cls_arg

<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/eager_utils.py#L67-L81) |

Checks if it is method which takes self/cls as the first argument.

    tf_agents.utils.eager_utils.has_self_cls_arg(
        func_or_method
    )