check if all elements of an array are not in another python code example Example: check if array values exists in another array $result = !empty(array_intersect($people, $criminals));