code: def test_should_build_docs(
      mock_get_existing_tag_versions,
      releases: List[Version],
      tag: Version,
      expected: bool,
  ) -> None:
      mock_get_existing_tag_versions.return_value = releases
      result = should_build_docs(tag)
      assert result == expected
  
imports: from scripts.evaluate_release_tag import filter_ga_relases, should_build_docs
  import pytest
  from pep440_version_utils import Version
  from typing import List
  from unittest.mock import patch
label_desc: Use image node_id 2 for calling a global function with example usage: test_should_build_docs(mock_get_existing_tag_versions, releases, tag, expected) without return types