@Override
  protected boolean isAvailable(@NotNull AnActionEvent e) {
    if (!super.isAvailable(e)) return false;

    MavenProjectsManager manager = MavenActionUtil.getProjectsManager(e.getDataContext());
    if (manager == null) return false;

    if (manager.getAvailableProfiles().isEmpty()) return false;

    MavenExplicitProfiles explicitProfiles = manager.getExplicitProfiles();

    return !explicitProfiles.getEnabledProfiles().isEmpty() || !explicitProfiles.getDisabledProfiles().isEmpty();
  }
@Override
  protected boolean isAvailable(@NotNull AnActionEvent e)