laravel check if session variable exists
if(Session::has('...'))
Here is what the above code is Doing:
1. We’re checking if the session has a key of ‘…’
2. If it does, we’re returning the value of that key
3. If it doesn’t, we’re returning the default value of ‘…’