Returns True if provided address in printable format belongs to _allocated_ global address space (2000::/3). Please note that, Unique Local addresses (FC00::/7) are not part of global address space, and won't match.
(str)
| 774 | |
| 775 | |
| 776 | def in6_isgladdr(str): |
| 777 | # type: (str) -> bool |
| 778 | """ |
| 779 | Returns True if provided address in printable format belongs to |
| 780 | _allocated_ global address space (2000::/3). Please note that, |
| 781 | Unique Local addresses (FC00::/7) are not part of global address |
| 782 | space, and won't match. |
| 783 | """ |
| 784 | return in6_isincluded(str, '2000::', 3) |
| 785 | |
| 786 | |
| 787 | def in6_ismaddr(str): |
no test coverage detected
searching dependent graphs…