Update Adapter/MongoAdapter.php

Changing isEmpty method