code: def main(args):
      mll = Marginal(literal_listener_raw, num_samples=args.num_samples)
  
      def is_any_qud(world):
          return any(map(lambda obj: obj.nice, world))
  
      print(mll("all blond people are nice", is_any_qud)())
  
      def is_all_qud(world):
          m = True
          for obj in world:
              if obj.blond:
                  if obj.nice:
                      m = m and True
                  else:
                      m = m and False
              else:
                  m = m and True
          return m
  
      rsa = Marginal(rsa_listener, num_samples=args.num_samples)
  
      print(rsa("some of the blond people are nice", is_all_qud)())
  
imports: import argparse
  import collections
  import torch
  from search_inference import BestFirstSearch, HashingMarginal, memoize
  import pyro
  import pyro.distributions
label_desc: Use image node_id 18 for calling a global function with example usage: main(args) and returns: any, m