import random


def randbool(n):
    """Randomly return True in 1 out of n cases.

    :param n: Inverted chance of returning True
    :rtype: Boolean
    """
    if random.randint(1, n) == 1:
        return True
    return False