static boolean isDeleted(@Nullable IdeaPluginDescriptor descriptor) {
    return descriptor instanceof IdeaPluginDescriptorImpl && ((IdeaPluginDescriptorImpl)descriptor).isDeleted();
  }
static boolean isDeleted(@Nullable IdeaPluginDescriptor descriptor)