is_valid#

CommandTable.is_valid(raise_for_invalid: bool = False) bool[source]#

Checks if the command table is valid.

Parameters:

raise_for_invalid (bool) – Raises exception if the command table is invalid. The flag can be used for getting feedback on what is wrong in the command table.

Returns:

True if the command table is valid.

Raises:

ValidationError – If raise_for_invalid was set to True and the command table is invalid.

Return type:

bool

New in version 0.6.2.