code: def is_valid_unix_time(unix_time):
      """Helper function to determine whether the provided UNIX time is valid.
  
      Args:
          unix_time (int): The user provided UNIX time.
  
      Returns:
          bool: Indicates whether the provided UNIX time was valid or not.
  
      """
      try:
          datetime.fromtimestamp(unix_time)
          return True
      except (OverflowError, ValueError):
          return False
  
file_path: sagemaker-python-sdk/src/sagemaker/debugger/utils.py
imports: from __future__ import absolute_import
  import re
  from datetime import datetime
  from enum import Enum
label_desc: Use image node_id 3 for calling a global function with example usage: is_valid_unix_time(unix_time) and returns: True, False