code: def _has_mixed_fields(factors):
      bools = [_factor_is_complex(factor) for factor in factors]
      if len(set(bools)) == 2:
          return True
  
      return False
  
imports: import math
  import geomstats.backend
  import geomstats.errors
  from geomstats.geometry.complex_manifold import ComplexManifold
  from geomstats.geometry.complex_riemannian_metric import ComplexRiemannianMetric
  from geomstats.geometry.manifold import Manifold
  from geomstats.geometry.riemannian_metric import RiemannianMetric
  from geomstats.vectorization import get_batch_shape
label_desc: Use image node_id 2 for calling a global function with example usage: _has_mixed_fields(factors) and returns: False, True