def follow_link(connection, link):
 if link:
  return connection.follow_link(link)
 else:
  return None

def follow_link ( connection , link ) : if link : return connection . follow_link ( link ) else : return None
this method returns the entity of the element which link points to .