code: def get_verb_function(data, verb):
      
      try:
          module = type_lookup[type(data)]
      except KeyError:
          # Some guess work for subclasses
          for type_, mod in type_lookup.items():
              if isinstance(data, type_):
                  module = mod
                  break
      try:
          return getattr(module, verb)
      except (NameError, AttributeError):
          msg = "Data source of type '{}' is not supported."
          raise TypeError(msg.format(type(data)))
docs: Return function that implements the verb for given data type