Python Json Check Array Index