keras/src/trainers/data_adapters/data_adapter.py/DataAdapter/has_partial_batch
class DataAdapter:    def has_partial_batch(self):
        """Whether the dataset has partial batch at the end."""
        raise NotImplementedError