def __init__(self, is_fitted: bool = False, apply_fit: bool = True, apply_predict: bool = True) -> None:
        """
        Create a postprocessing object.

        Optionally, set attributes.
        """
        self._is_fitted = bool(is_fitted)
        self._apply_fit = bool(apply_fit)
        self._apply_predict = bool(apply_predict)
        Postprocessor._check_params(self)

        Create a postprocessing object.

        Optionally, set attributes.
        
art/defences/postprocessor/postprocessor.py