pandas.api.types.is_bool

pandas.api.types.is_bool()

Return True if given object is boolean.

Returns:
bool