Periksa apakah nilai array ada di array php lain
$result = !empty(array_intersect($people, $criminals));
Calm Caracal
$result = !empty(array_intersect($people, $criminals));
$containsAllValues = !array_diff($search_this, $all);