domain_is_known

Function domain_is_known 

Source
pub fn domain_is_known(s: &str) -> bool
Expand description

Check whether the registrable domain’s public suffix is explicitly present in the public suffix list. Returns false when the input has no registrable domain. The caller is expected to pass an already-normalized domain (typically via normalize_domain).