r_sa_check#

langchain_core.utils.mustache.r_sa_check(template: str, tag_type: str, is_standalone: bool) bool[source]#

Do a final check to see if a tag could be a standalone.

Parameters:
  • template (str) – The template.

  • tag_type (str) – The type of the tag.

  • is_standalone (bool) – Whether the tag is standalone.

Returns:

Whether the tag could be a standalone.

Return type:

bool