Function of type_is_bool command
type_is_bool
bool commandIsBool(List args) => expEval(args[0]) is bool;