code: def contains(self, eff: Effect) -> bool:
      return any(
          isinstance(eff, eff_type) for eff_type in self._effect_types
      )
  
file_path: jax/jax/_src/effects.py
imports: from __future__ import annotations
  from collections.abc import Iterable, Set
  from typing import Any
label_desc: Use image node_id 3 for calling the EffectTypeSet obj's underlying member method code with example usage: obj.contains(eff) and returns: any