boolean (AnActionEvent e) { final Sdk sdk = getSelectedSdk(); if (myPackageManagementService instanceof PythonPackageManagementServiceBridge bridge) { return sdk != null && bridge.isConda() && bridge.getUseConda(); } return false; }