def METHOD_NAME(self):
    if self.render_mode is None:
        gymnasium.logger.warn(
            "You are calling render method without specifying any render mode."
        )
    else:
        print(self.agents)