Python Check If Array Has A Value Chart