code: def should_build_docs(tag: Version) -> bool:
      """Docs should be built only for the latest GA release tags"""
      existing_tags = git_existing_tag_versions()
  
      ga_releases = filter_ga_relases(existing_tags)
      ga_releases.sort()
      latest_version = ga_releases[-1]
      print(
          f"The latest General Availability release tag is {latest_version}."
      )
      need_to_build_docs = False
  
      if not is_plain_version(tag):
          print(
              f"Tag {tag} is an alpha, beta, rc, nightly, or otherwise non-standard version."
          )
      elif tag >= latest_version:
          print(
              f"Tag {tag} is the latest version. Docs should be built."
          )
          need_to_build_docs = True
  
      return need_to_build_docs
  
file_path: rasa/scripts/evaluate_release_tag.py
imports: import argparse
  from subprocess import check_output
  from typing import List
  from pep440_version_utils import Version, is_valid_version
label_desc: Use image node_id 6 for calling a global function with example usage: should_build_docs(tag) and returns: need_to_build_docs