code: def is_subdict(self, a,b):
          '''
          Return True if a is a subdict of b
          '''
          return all((k in b and b[k]==v) for k,v in a.iteritems()f is_subdict(self, a,b):
          '''
          Return True if a is a subdict of b
          '''
          return all((k in b and b[k]==v) for k,v in a.iteritems())
docs: Return True if a is a subdict of b