Add DocGroup#is_or_has for model comparison