def age_restricted(content_limit, age_limit):
    """ Returns True iff the content should be blocked """
    if age_limit is None:
        return False
    if content_limit is None:
        return False
    return age_limit < content_limit
