static boolean isAgentLoaded(@NotNull DebugProcess debugProcess) {
    MemoryAgent memoryAgent = debugProcess.getUserData(MEMORY_AGENT_KEY);
    return memoryAgent != null && !memoryAgent.isDisabled();
  }
static boolean isAgentLoaded(@NotNull DebugProcess debugProcess)