if ($request->session()->has('users')) //The has method returns true if the item is present and is not null: