Python Json Check If Value Is Array