code: def has_hyperprior(kwargs):
      """Determines if a Prior has an hyperprior"""
      return (
          "sigma" in kwargs
          and "observed" not in kwargs
          and isinstance(kwargs["sigma"], pt.TensorVariable)
      )
  
file_path: bambi/bambi/backend/utils.py
imports: import inspect
  from functools import partial
  import pytensor.tensor
  import pymc
label_desc: Use image node_id 2 for calling a global function with example usage: has_hyperprior(kwargs) and returns: unknown