docs: protected boolean isItemVisible(final T file) {
          return (isDir(file) ||
                  (mode == MODE_FILE || mode == MODE_FILE_AND_DIR) ||
                  (mode == MODE_NEW_FILE && allowExistingFile));
      }