def not_any(tuple1, tuple2):
    """Checks that no element of tuple2 is in tuple1"""
    if tuple2 is None:
        return True
    if tuple1 is None:
        return False
    for e in tuple2:
        if e in tuple1:
            return False
    return True