public bool IsDefined(IType attributeType) { ExternalType type = attributeType as ExternalType; if (null == type) return false; return MetadataUtil.IsAttributeDefined(_type, type.ActualType); }