Add boolean testing functions to bash library.