Json Code Test If Array Python