@php $agent = $agent ?? null; @endphp
@if($agent && $agent->foto_profil && \Storage::disk('public')->exists($agent->foto_profil)) @else @endif

Bisa isi lebih dari satu, contoh: IG: @user, FB: User