Check If Array Contains Value Python