src/transformers/tokenization_utils_base.py/BatchEncoding/is_fast
class BatchEncoding:    def is_fast(self) -> bool:
        """
        `bool`: Indicate whether this [`BatchEncoding`] was generated from the result of a [`PreTrainedTokenizerFast`]
        or not.
        """
        return self._encodings is not None