(self, ip_address)
Validate an IP address for analysis.

        Args:
            ip_address: the IP address to validate

        Returns:
            True if given IP address is valid and global
Validate an IP address for analysis.
Validate an IP address for analysis .
def _validate_ip(self, ip_address):
        """Validate an IP address for analysis.

        Args:
            ip_address: the IP address to validate

        Returns:
            True if given IP address is valid and global
        """
        try:
            ip = ipaddress.ip_address(ip_address)
            return ip.is_global
        except ValueError:
            return False
def _validate_ip ( self , ip_address ) : try : ip = ipaddress . ip_address ( ip_address ) return ip . is_global except ValueError : return False