When does a predictor know its own loss?