def fuzzy_bool(x):
    """
    Return True, False or None according to x.

    Whereas bool(x) returns True or False, fuzzy_bool allows
    for the None value.

    """
    if x is not None:
        return bool(x)
