pub fn is_loopback(host: &str) -> bool
True for every spelling of this machine: localhost, *.localhost (RFC 6761), 127.0.0.0/8, ::1 and its IPv4-mapped form.
localhost
*.localhost
127.0.0.0/8
::1