Documentation
parse_ipaddress_or_none()
Check if the given string is a valid IP address, if yes, return the IPv4Address or IPv6Address object, otherwise return None.