class_docstr: Archive provides a consistent interface for unpacking
  compressed file.
class_docstr_tok: ["Archive","provides","a","consistent","interface","for","unpacking","compressed","file","."]
code: def is_safe(self, filename):
      return not (
          filename.startswith(("/", "\\"))
          or (
              len(filename) > 1
              and filename[1] == ":"
              and filename[0] in string.ascii_letter
          )
          or re.search(r"[.][.][/\\]", filename)
      )
  
imports: from __future__ import print_function, division, absolute_import
  import tarfile
  import zipfile
  import re
  import string
  import io
label_desc: Use image node_id 11 for calling the Archive obj's underlying member method code with example usage: obj.is_safe(filename) and returns: unknown