public bool DirectHas <T> (string scope) { return(policies != null && policies.ContainsKey(new PolicyKey(typeof(T), scope))); }
internal bool DirectHas(Type type, string scope) { return(policies != null && policies.ContainsKey(new PolicyKey(type, scope))); }