using RealmQuery boolean