def has_anonymous_link(node, auth):
 if auth.private_link:
  return auth.private_link.anonymous
 return False

def has_anonymous_link ( node , auth ) : if auth . private_link : return auth . private_link . anonymous return False
check if the node is anonymous to the user .