Only 5% chance of happening

def rarely(fn):
    """
    Only 5% chance of happening
    """
    def wrapped(*args, **kwargs):
        if in_percentage(5):
            fn(*args, **kwargs)
    return wrapped