keras/src/callbacks/model_checkpoint.py/ModelCheckpoint/_checkpoint_exists
class ModelCheckpoint:    def _checkpoint_exists(self, filepath):
        """Returns whether the checkpoint `filepath` refers to exists."""
        return file_utils.exists(filepath)