ID EN
String

is_valid

Python 3.11

Returns false if the template has invalid placeholders that will cause substitute() to raise ValueError.

Syntax

PYTHON
is_valid()

See Also

substitute() ValueError