@if(!empty($value)) <span class="no-btn btn btn-xs btn-info">Array</span> @else <span class="no-btn btn btn-xs btn-danger">empty</span> @endif
info at phpclasses dot org