public boolean isAutoConnect() {
    return agentConfig.getAutoConnect();
  }
Returns true if the Agent is set to auto connect to a system.
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/AgentImpl.java