<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_verb_function(data, verb):
 """ Return function that implements the verb for given data type """

    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)))