def isXRDS(xrd_tree):
 root = xrd_tree.getroot()
 return (root.tag == root_tag)

def isXRDS ( xrd_tree ) : root = xrd_tree . getroot ( ) return ( root . tag == root_tag )
is this document an xrds document? .