def is_ip_address(ip: str):
    """
    Returns whether it is an IP address

    :param str ip: String
    :return: bool
    """
    try:
        import IPy
        _ = IPy.IP(ip)
        return True
    except:
        return False
