Python Check If Array Has Number