Ein nicht-leeres Array findest du mit $exists und $ne leeres Array. $type prüft bei Bedarf den Array-Typ.