in multiagent/scenarios/simple_world_comm.py [0:0]
def outside_boundary(self, agent):
if agent.state.p_pos[0] > 1 or agent.state.p_pos[0] < -1 or agent.state.p_pos[1] > 1 or agent.state.p_pos[1] < -1:
return True
else:
return False