code: def is_xarfile(file: str) -> bool:
      """Return True if xarfile supports specific file, otherwise False"""
      _x_func = [
          zipfile.is_zipfile,
          tarfile.is_tarfile,
          rarfile.is_rarfile,
      ]
      for _f in _x_func:
          if _f(file):
              return True
      return False
  
imports: import os
  import tarfile
  import zipfile
  from typing import Callable
  from typing import Generator
  from typing import List
  import rarfile
label_desc: Use image node_id 5 for calling a global function with example usage: is_xarfile(file) and returns: False, True