Python Json Check If Value Is Array A Word