@Override
    public boolean isDir(@NonNull final File path) {
        return path.isDirectory();
    }
Return true if the path is a directory and not a file.

@param path either a file or directory
@return true if path is a directory, false if file
android/modules/module_filepicker/src/main/java/com/nononsenseapps/filepicker/FilePickerFragment.java