It would definitely be more efficient to just be a flag but I'll leave that decision to you and anyone else that wants to submit their opinion.

Also - thanks for all your hard work on the yii framework! I've never spoken to you before, but I often see forum responses from you that are very helpful.