def is_private(self):
        """Test if this address is allocated for private networks.

        Returns:
            A boolean, True if the address is reserved per
            iana-ipv6-special-registry.

        """
        return (self in IPv6Network('::1/128') or
                self in IPv6Network('::/128') or
                self in IPv6Network('::ffff:0:0/96') or
                self in IPv6Network('100::/64') or
                self in IPv6Network('2001::/23') or
                self in IPv6Network('2001:2::/48') or
                self in IPv6Network('2001:db8::/32') or
                self in IPv6Network('2001:10::/28') or
                self in IPv6Network('fc00::/7') or
                self in IPv6Network('fe80::/10'))
def is_private ( self ) : return ( self in IPv6Network ( '::1/128' ) or self in IPv6Network ( '::/128' ) or self in IPv6Network ( '::ffff:0:0/96' ) or self in IPv6Network ( '100::/64' ) or self in IPv6Network ( '2001::/23' ) or self in IPv6Network ( '2001:2::/48' ) or self in IPv6Network ( '2001:db8::/32' ) or self in IPv6Network ( '2001:10::/28' ) or self in IPv6Network ( 'fc00::/7' ) or self in IPv6Network ( 'fe80::/10' ) )
Test if this address is allocated for private networks.

        Returns:
            A boolean, True if the address is reserved per
            iana-ipv6-special-registry.