langchain/callbacks/utils.py/BaseMetadataCallbackHandler/ignore_agent
class BaseMetadataCallbackHandler:    def ignore_agent(self) -> bool:
        """Whether to ignore agent callbacks."""
        return self.ignore_agent_