boolean () { DataContext context = DataManager.getInstance().getDataContext(this); ExecutionEnvironment env = ExecutionDataKeys.EXECUTION_ENVIRONMENT.getData(context); if (env != null && env.getRunProfile() instanceof RemoteRunProfile) { return true; } return false; }