private static boolean isExecutorSupportedOnTarget(@NotNull ExecutionEnvironment env) {
    Executor executor = env.getExecutor();
    return env.getTargetEnvironmentRequest() instanceof LocalTargetEnvironmentRequest || executor.isSupportedOnTarget();
  }
private static boolean isExecutorSupportedOnTarget(@NotNull ExecutionEnvironment env)