pub fn has_registry( from_content: &str, to_content: &str, allow_all_domains: bool, ) -> Result<bool, AuthError>
Whether either npm configuration contains an eligible registry definition.