How can I check if a an array of strings is empty in MongoDB with java? : Imagine I have a DB with documents with the format:

``` 
{
  "id": "12345",
  "adress": "adress1,adress2,adress3"
  
}
```

I have tried, after query the DB and get the document of the id I want, to turn *adress* into a list and get list.isEmpty(), but it's not empty.

Can it be done using MongoDB?