function resu = islogical(df) returns true if all the columns are boolean
Package:
dataframe