Numpy Check If Array Hash Value Definition