Do you know about has, exists and missing methods in Laravel session?
// The has method returns true if the item is present & not null.
$request->session()->has('key');
// exists() returns true when the key is present, including when its value is null.
$request->session()->exists('key');
// missing() returns true when the key is absent or its value is null.
$request->session()->missing('key');