is_bool

is_bool(x)[source]

Return true if x is a boolean value.