def task3(arg1, arg2, arg3):
    """
    Third task that depends on the output of the second task.
    Performs some basic filtering on the data.
    """

    # Do computation
    pass

    # Do filter
    if arg1 == arg2:
        # Return failure, next task will not be run
        return False

    # Otherwise return success, args for next task
    return True, 'arg4'