@if (Route::has('login')) @endif
Laravel
@if (Session::has('flash_notification.message')) @endif