adding `has` method to DAO interface.