def in6_isdocaddr(str):
 return in6_isincluded(str, '2001:db8::', 32)

def in6_isdocaddr ( str ) : return in6_isincluded ( str , '2001:db8::' , 32 )
returns true if provided address in printable format belongs to 2001:db8::/32 address space reserved for documentation .