code: def last_hour(unixtime, hours=1):
      """Check if a given epochtime is within the last hour(s).
  
      Args:
          unixtime: epoch time
          hours (int): number of hours
  
      Returns:
          True/False
      """
      seconds = hours * 3600
      # sometimes bash histories do not contain the `time` column
      return (
          int(time.time()) - int(unixtime) <= seconds
          if unixtime
          else False
      )
  
file_path: streamalert/rules/helpers/base.py
imports: from fnmatch import fnmatch
  import logging
  import json
  import random
  import time
  import pathlib2
  from streamalert.shared.utils import get_first_key, get_keys, in_network, valid_ip
label_desc: Use image node_id 6 for calling a global function with example usage: last_hour(unixtime, hours) and returns: unknown