Check A Value In Array Python Memory