@if (isset($value) && isset($checked) == false) @php $checked = $value == 'true'; @endphp @endif @php $rand = rand(1, 999); @endphp