Python Check Value In Array