bool AgentManager::agentHasBTPath(AgentId aid) { Agent *agent = getAgent(aid); return nullptr == agent ? false : agent->hasBTPath(); }