def is_loopback(host):
    """Return True of the IP or the host is a loopback

    Return False if not.
    """
    loopbacks = ['127', '::1']
    for item in loopbacks:
        if host.startswith(item):
            return True
    return False