# tf_agents.policies.utils.has_chosen_arm_features

<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/policies/utils.py#L272-L284) |

Check if policy info has `chosen_arm_features` field/tensor.

    tf_agents.policies.utils.has_chosen_arm_features(
        info: Optional[Union[https://www.tensorflow.org/agents/api_docs/python/tf_agents/policies/utils/PolicyInfo, https://www.tensorflow.org/agents/api_docs/python/tf_agents/policies/utils/PerArmPolicyInfo]],
        check_for_tensor: bool = False
    ) -> bool