docs: def boolean(description, **kwargs) -> typing.Type:
      """Create a :class:`~doctor.types.Boolean` type.
  
      :param description: A description of the type.
      :param kwargs: Can include any attribute defined in
          :class:`~doctor.types.Boolean`
      """
      kwargs['description'] = description
      return type('Boolean', (Boolean,), kwargs)