def is_default(cls): return ( SimpleType.is_default(cls) and cls.Attributes.min_len == String.Attributes.min_len and cls.Attributes.max_len == String.Attributes.max_len and cls.Attributes.pattern == String.Attributes.pattern )