code: def are_columns_nested(X):
      """Check whether any cells have nested structure in each DataFrame column.
  
      Parameters
      ----------
      X : pd.DataFrame
          DataFrame to check for nested data structures.
  
      Returns
      -------
      any_nested : bool
          If True, at least one column is nested.
          If False, no nested columns.
      """
      any_nested = _nested_cell_mask(X).any().values
      return any_nested
  
imports: import numpy
  import pandas
  from sktime.datatypes._convert_utils._coerce import _coerce_df_dtypes
  from sktime.datatypes._convert_utils._convert import _extend_conversions
  from sktime.datatypes._panel._registry import MTYPE_LIST_PANEL
  from sktime.utils.pandas import df_map
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 5 for calling a global function with example usage: are_columns_nested(X) and returns: any_nested