@php $hasSubmenu = ($headerData['enableSubmenuRow'] ?? true) && filled(data_get($headerData, 'submenuMenus')); @endphp