code: def has_suffix(path_name, suffix):
      
      if isinstance(suffix, str):
          suffix = disintegrate(suffix)
  
      components = disintegrate(path_name)
  
      for i in range(-1, -(len(suffix) + 1), -1):
          if components[i] != suffix[i]:
              break
      else:
          return True
      return False
docs: Determines if path_name has a suffix of at least 'suffix'