@if (Route::has('login')) @endif
Laravel