<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _checkBool(inputvalue, description='inputvalue'):
 """Check that the given inputvalue is a boolean. Args: * inputvalue (boolean):
 The value to be checked. * description (string):
 Used in error messages for the checked inputvalue. Raises: TypeError, ValueError """

    _checkString(description, minlength=1, description='description string')
    if not isinstance(inputvalue, bool):
        raise TypeError('The {0} must be boolean. Given: {1!r}'.format(description, inputvalue))