code: public static SynchronizedIterable<AgentContext> getContextsOf(Agent agent) throws Exception {
  		final ExternalContextAccess skill = SREutils.getInternalSkill(agent, ExternalContextAccess.class);
  		assert skill != null;
  		return skill.getAllContexts();
  	}
docs: Replies the contexts in which the agent is located.
  
  @param agent the agent for which the contexts must be retrieved.
  @return the contexts of the agents.
  @throws Exception - when it is not possible to retrieve the contexts.