public static bool IsValid(this ResourceTypeEnum type)
 {
     return(!type.IsCategory() && ((uint)type & 0xFFFF0000) != 0);
 }