@staticmethod<EOL><INDENT>def _assert_is_brightness(value):<DEDENT>
if not <NUM_LIT:0> <= value <= <NUM_LIT:1>:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>
Assert that the given value is a valid brightness.

:param value: The value to check.