Laravel in Array Blade

@if(in_array($val, $array))
Foolish Ferret