utils.py
def is_ip_private(ip_address):
    """
    Check if the given IP address is Private IP or not
    :param ip_address:
    :return: True if Private IP
    """
    return ipaddress.ip_address(ip_address).is_private

    Check if the given IP address is Private IP or not
    :param ip_address:
    :return: True if Private IP
    
Check if the given IP address is Private IP or not
Check if the given IP address is Private IP or not
def is_ip_private(ip_address):
    return ipaddress.ip_address(ip_address).is_private
def is_ip_private ( ip_address ) : return ipaddress . ip_address ( ip_address ) . is_private
Check if the given IP address is Private IP or not
Check if the given IP address is Private IP or not
"""
    Check if the given IP address is Private IP or not
    :param ip_address:
    :return: True if Private IP
    """
True if Private IP
True if Private IP
ip_address
None