This is one of things that I see over and over in Selenium code of beginners.
Page methods that use a boolean parameter.
For example,
Keep reading with a 7-day free trial
Subscribe to Selenium For Beginners to keep reading this post and get 7 days of free access to the full post archives.