def is_reference(d):
    """
    Returns a boolean indicating whether the passed argument is reference.

    A reference is a fict in the form {'#': soul}
    """
    return isinstance(d, dict) and "#" in d