public static boolean isNullOrEmptyOrQuestionMark ( final String string ) { if ( string == null || string . length ( ) == 0 || "?" . equals ( string ) ) { return true ; } return false ; }
Checks that the specified String is not null or empty or question mark ? .