Skip to main content

is_loopback

Function
This function is defined in the protocols module.
Check if a host is a loopback interface.

Signature

Parameters

str
required
Host/IP address to check

Returns

bool
True if the host is a loopback address

Usage

Uses

  • ipaddress.ip_address

Used By

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 1952