code: def assert_in(member, container, msg=None):
      """Backport"""
      if member in container:
          return
      std_msg = "%s not found in %s" % (
          _safe_rep(member),
          _safe_rep(container),
      )
      raise AssertionError(_format_msg(msg, std_msg))
  
imports: from __future__ import print_function
  import numpy
  import sys
  import os
  import inspect
  import gc
  import pytest
  import functools
  from packaging.version import Version
  from ..util.check_environment import has_backend
label_desc: Use image node_id 7 for calling a global function with example usage: assert_in(member, container, msg) without return types