sockets# ip# from toolbox.sockets import ip is_ip(host)[source]# Checks if the host is an IP address. Parameters: host (str) – The hostname to check. Return type: bool Returns: True if the host is an IP address, False otherwise.