original_docstring: 
          Check if the denoising_label is the expected true label.
          Args:
              denoising_label: int or None. The label of the processed image.
  
          Returns:
              bool.
          
docstring: Check if the denoising_label is the expected true label.
docstring_tokens: Check if the denoising_label is the expected true label .
code: def _is_successful(self, denoising_label):
          """
          Check if the denoising_label is the expected true label.
          Args:
              denoising_label: int or None. The label of the processed image.
  
          Returns:
              bool.
          """
          if denoising_label is None:
              return False
          assert isinstance(denoising_label, int) or isinstance(denoising_label, np.int64)
  
          return denoising_label == self.__target_label
code_tokens: def _is_successful ( self , denoising_label ) : if denoising_label is None : return False assert isinstance ( denoising_label , int ) or isinstance ( denoising_label , np . int64 ) return denoising_label == self . __target_label
short_docstring: Check if the denoising_label is the expected true label.
short_docstring_tokens: Check if the denoising_label is the expected true label .
comment: """
          Check if the denoising_label is the expected true label.
          Args:
              denoising_label: int or None. The label of the processed image.
  
          Returns:
              bool.
          """