Numpy Check If Array Has Value Based