public static boolean isFileValid(String path) {
        if (TextUtils.isEmpty(path)) {
            return false;
        }
        File file = new File(path);
        return isFileValid(file);
    }
A file helper to make thing easier.

@author ChenSL
boxing/src/main/java/com/bilibili/boxing/utils/BoxingFileHelper.java