I think this can be simplified to `return in_array(Auth::user()->role, $role)`