code: def _warn_if_ignored(value, default, name):
      if value != default:
          raise ValueError(
              f"walker, {name}: cannot specify both 'walker' and '{name}'. Please use one or the other."
          )
  
file_path: stellargraph/stellargraph/data/unsupervised_sampler.py
imports: import numpy
  from stellargraph.core.utils import is_real_iterable
  from stellargraph.core.graph import StellarGraph
  from stellargraph.data.explorer import UniformRandomWalk
  from stellargraph.random import random_state
label_desc: Use image node_id 1 for calling a global function with example usage: _warn_if_ignored(value, default, name) without return types