(string_ip)
return True
:rtype: bool
:rtype: bool
: rtype : bool
def is_ipv4_address(string_ip):
    """
    :rtype: bool
    """
    try:
        socket.inet_aton(string_ip)
    except socket.error:
        return False
    return True
def is_ipv4_address ( string_ip ) : try : socket . inet_aton ( string_ip ) except socket . error : return False return True