code: def is_newer_file(a, b):
      
      if not (op.exists(a) and op.exists(b)):
          return False
      am = os.stat(a).st_mtime
      bm = os.stat(b).st_mtime
      return am > bm
docs: Check if the file a is newer than file b