def is_reserved(self):
        """Test if the address is otherwise IETF reserved.

        Returns:
            A boolean, True if the address is within one of the
            reserved IPv6 Network ranges.

        """
        reserved_nets = [IPv6Network('::/8'), IPv6Network('100::/8'),
                         IPv6Network('200::/7'), IPv6Network('400::/6'),
                         IPv6Network('800::/5'), IPv6Network('1000::/4'),
                         IPv6Network('4000::/3'), IPv6Network('6000::/3'),
                         IPv6Network('8000::/3'), IPv6Network('A000::/3'),
                         IPv6Network('C000::/3'), IPv6Network('E000::/4'),
                         IPv6Network('F000::/5'), IPv6Network('F800::/6'),
                         IPv6Network('FE00::/9')]

        return any(self in x for x in reserved_nets)
def is_reserved ( self ) : reserved_nets = [ IPv6Network ( '::/8' ) , IPv6Network ( '100::/8' ) , IPv6Network ( '200::/7' ) , IPv6Network ( '400::/6' ) , IPv6Network ( '800::/5' ) , IPv6Network ( '1000::/4' ) , IPv6Network ( '4000::/3' ) , IPv6Network ( '6000::/3' ) , IPv6Network ( '8000::/3' ) , IPv6Network ( 'A000::/3' ) , IPv6Network ( 'C000::/3' ) , IPv6Network ( 'E000::/4' ) , IPv6Network ( 'F000::/5' ) , IPv6Network ( 'F800::/6' ) , IPv6Network ( 'FE00::/9' ) ] return any ( self in x for x in reserved_nets )
Test if the address is otherwise IETF reserved.

        Returns:
            A boolean, True if the address is within one of the
            reserved IPv6 Network ranges.