def lazily_echo(x):
    """
    lazily takes an object and returns it. Useful in the case where a dummy operation is needed to satisfy an interface
    :param x: object to echo
    :return: x
    """
    def nested(_):
        return x
    return nested