docs: def format_location(ctx, text):
      """
      Takes a single parameter (administrative boundary as a string) and returns the name of the leaf boundary
      """
      text = conversions.to_string(text, ctx)
      return text.split(">")[-1].strip()