code: def check_sane_epochs(lines: List[str], **kwargs: Dict) -> None:
      do_check_with_table(
          lines,
          {
              train_begin: {None},
              epoch_begin: {train_begin, epoch_end},
              epoch_end: {epoch_begin},
          },
      )
  
imports: import io
  from typing import Any, Callable, Dict, List, Optional, Set
  import determined
  import determined.keras
label_desc: Use image node_id 8 for calling a global function with example usage: check_sane_epochs(lines) without return types