public static boolean isBoolesque ( String string ) { checkNotNull ( string ) ; assertBoolesque ( string ) ; return isFalsy ( string ) || isTruthy ( string ) ; }
Whether string holds a boolean - like value . It should equal 0 1 true or false . This method says nothing about whether the object is true or false .