question: public static boolean isFolderExist ( String directoryPath ) { if ( StringUtils . isBlank ( directoryPath ) ) { return false ; } File dire = new File ( directoryPath ) ; return ( dire . exists ( ) && dire . isDirectory ( ) ) ; }
target:  Indicates if this file represents a directory on the underlying file system.