Add IsEmpty model check