Complete Python Mastery Help

In complete Python Course
I think sir has a miss take
Web capture_21-11-2021_17136_www.youtube.com
in line " If not browsing_session " i think just If browsing session.
I think boss make a mistake
Because when browsing_session == True then line 5 activing