Numpy Check If Array Has Value Php