code: def are_same_file_types(objs):
      
      if not objs:
          return False
  
      ext = _try_to_get_extension(objs[0])
      if ext is None:
          return False
  
      return all(_try_to_get_extension(p) == ext for p in objs[1:])
docs: Are given (maybe) file objs same type (extension) ?
  
      :param objs: A list of file path or file(-like) objects
  
      >>> are_same_file_types([])
      False
      >>> are_same_file_types(["a.conf"])
      True
      >>> are_same_file_types(["a.conf", "b.conf"])
      True
      >>> are_same_file_types(["a.yml", "b.yml"])
      True
      >>> are_same_file_types(["a.yml", "b.json"])
      False
      >>> strm = anyconfig.compat.StringIO()
      >>> are_same_file_types(["a.yml", "b.yml", strm])
      False