Asserts that a given condition is true, or raises an error otherwise.
condition
The condition to test.
Optional
The error message to use if the condition is false.
AssertionFailedError If the assertion failed.
Asserts that a given
condition
is true, or raises an error otherwise.