def check_true(val, message):
if not val:<EOL><INDENT>raise AssertionError(message)<EOL><DEDENT>
Tests whether the provided expression is ``true``.

:param val: (bool), the expression tested to see if it is ``true``.
:param message: (str), the error message.