public static bool IsContext(this IMetadataTypeInfo type)
 {
     return(!type.IsAbstract &&
            !type.IsStruct() &&
            type.GenericParameters.Length == 0 &&
            !type.HasCustomAttribute(FullNames.BehaviorsAttribute) &&
            (type.GetSpecifications().Any() || type.GetBehaviors().Any()));
 }