code: def has_target_log_prob(kernel_results):
      """Returns `True` if `target_log_prob` is a member of input."""
      return (
          getattr(kernel_results, "target_log_prob", None) is not None
      )
  
imports: import collections
  import warnings
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import samplers
  from tensorflow_probability.python.mcmc import kernel
  from tensorflow_probability.python.mcmc.internal import util
label_desc: Use image node_id 1 for calling a global function with example usage: has_target_log_prob(kernel_results) and returns: unknown