Python Check If Numpy Array Is A Collection Of Values