class_docstr: A harness for stopping training.
class_docstr_tok: ["A","harness","for","stopping","training","."]
docstr: Validate on validation set and check for termination condition.
docstr_tok: ["Validate","on","validation","set","and","check","for","termination","condition","."]
code: def should_stop(self, epoch: int) -> bool:
      """Validate on validation set and check for termination condition."""
      raise NotImplementedError
  
file_path: pykeen/src/pykeen/stoppers/stopper.py
imports: import logging
  import pathlib
  from abc import ABC, abstractmethod
  from typing import Any, List, Mapping, Union
  import torch
label_desc: Use image node_id 3 for calling the Stopper obj's underlying member method code with example usage: obj.should_stop(epoch) without return types