code: def test_is_field_boolean(df_engine, dummy_df):
      assert np.array_equal(
          dummy_df.dtypes,
          ["object", "object", "object", "object", "object"],
      )
  
      if isinstance(df_engine, DaskEngine):
          dummy_df = df_engine.df_lib.from_pandas(
              dummy_df, npartitions=1
          )
  
      source = wrap_data_source(dummy_df)
  
      for field in dummy_df.columns:
          assert not is_field_boolean(source, field)
  
file_path: ludwig/tests/ludwig/automl/test_base_config.py
imports: import os
  from decimal import Decimal
  import numpy
  import pandas
  import pytest
  import yaml
  from ludwig.automl.base_config import get_dataset_info, get_dataset_info_from_source, get_field_metadata, get_reference_configs, is_field_boolean
  from ludwig.data.dataframe.dask import DaskEngine
  from ludwig.data.dataframe.pandas import PandasEngine
  from ludwig.schema.model_types.base import ModelConfig
  from ludwig.utils.automl.data_source import DataframeSource, wrap_data_source
label_desc: Use image node_id 2 for calling a global function with example usage: test_is_field_boolean(df_engine, dummy_df) without return types