Add isset to model