docs: 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))