def age_restricted(content_limit, age_limit):
 if (age_limit is None):
  return False
 if (content_limit is None):
  return False
 return (age_limit < content_limit)

def age_restricted ( content_limit , age_limit ) : if ( age_limit is None ) : return False if ( content_limit is None ) : return False return ( age_limit < content_limit )
returns true iff the content should be blocked .