You can use $and to join multiple conditions:
$and
collection.find({"$and": [{"foo": {'$ne': 'bar'}}, {"foo": {'$exists': True}}]})
No necessary to use $and, it also works
db.collection.find({"foo":{"$ne":"bar", "$exists":true}})