code: @Override
    public boolean needsTaskCommit(TaskAttemptContext context
                                   ) throws IOException {
      return workPath != null && outputFileSystem.exists(workPath);
    }
docs: Did this task write any files in the work directory?
  @param context the task's context