static boolean hasEnvironmentVariable ( String variable ) { final String value = System . getenv ( variable ) ; if ( value != null ) { return true ; } return false ; }
Checks for environment variable .