True iif input target is intercepted.

    :param target: target to check such as an intercepted target.

    :return: True iif input target is intercepted.
    :rtype: bool

def is_intercepted(target):
    """True iif input target is intercepted.

    :param target: target to check such as an intercepted target.

    :return: True iif input target is intercepted.
    :rtype: bool
    """

    result = False

    # get interception function from input target
    function = _get_function(target)

    result = hasattr(function, _INTERCEPTED)

    return result