code: def contains(a, b):
      """
      >>> contains({'x': 1, 'y': 2}, {'x': 1})
      True
      >>> contains({'x': 1, 'y': 2}, {'z': 3})
      False
      """
      return all(a.get(k) == v for k, v in b.items())
  
imports: import pickle
  from collections import namedtuple
  import pytest
  from flash.core.serve.dag.task import flatten, get, get_dependencies, get_deps, istask, literal, preorder_traversal, quote, subs
  from flash.core.serve.dag.utils_test import add, inc
  from flash.core.utilities.imports import _TOPIC_SERVE_AVAILABLE
label_desc: Use image node_id 1 for calling a global function with example usage: contains(a, b) and returns: all