l_sa_check#

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

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

Parameters:
  • template (str) – The template. (Not used.)

  • literal (str) – The literal.

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

Returns:

Whether the tag could be a standalone.

Return type:

bool