internal static bool IsDefined(RuntimeType type) { return (type.Attributes & TypeAttributes.Import) != 0; }