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