question: public static boolean validateOutputDirectory ( File directory ) { if ( directory . exists ( ) ) { Diagnostic . error ( ErrorType . DIRECTORY_EXISTS , directory . getPath ( ) ) ; return false ; } return true ; }
target:  Test if the supplied directory already exists.