code: def _filter_on_index(
      cls, on: Union[str, List, None], data: pd.DataFrame
  ):
      if on is None:
          return True
      elif isinstance(on, str):
          return on not in data.columns
      else:
          assert isinstance(on, list)
          return any(c not in data.columns for c in on)
  
imports: from typing import Union, List, Any
  import numpy
  import pandas
  from ...config import options
  from ...core import OutputType
  from ...core.context import Context
  from ...lib.bloom_filter import BloomFilter
  from ...serialization.serializables import AnyField, Int64Field, Float64Field, StringField
  from ...None import opcodes
  from ...typing import TileableType
  from ..operands import DataFrameOperandMixin, DataFrameOperand
  from ..utils import parse_index
label_desc: Use image node_id 5 for calling the DataFrameBloomFilter obj's underlying member method code with example usage: obj._filter_on_index(cls, on, data) and returns: True, unknown, any