code: def instance_contains(container, item):
      
      return item in (member for _, member in inspect.getmembers(container))
docs: Search into instance attributes, properties and return values of no-args methods.