#390

Basically checks if there is a route named login and register. When you install Laravel Breeze or Jetstream, those routes are created by default.

Its an added protection so that Laravel will not throw an error if those route becomes not available for whatever reason.