public bool HasAttribute <T>(AttributeKey <T> key) where T : class => _ctx.HasAttribute(key);