renamed present to exists, removed has_setting, adapted spec