Use is_bool_dtype :
from pandas.api.types import is_bool_dtype ... is_bool_dtype(df["a"])
Reference : https://pandas.pydata.org/docs/reference/api/pandas.api.types.is_bool_dtype.html