code: def guess_all_extensions(type, strict=True):
      """Guess the extensions for a file based on its MIME type.
  
      Return value is a list of strings giving the possible filename
      extensions, including the leading dot ('.').  The extension is not
      guaranteed to have been associated with any particular data
      stream, but would be mapped to the MIME type `type' by
      guess_type().  If no extension can be guessed for `type', None
      is returned.
  
      Optional `strict' argument when false adds a bunch of commonly found,
      but non-standard types.
      """
      if _db is None:
          init()
      return _db.guess_all_extensions(type, strict)
  
imports: import os
  import sys
  import posixpath
  import urllib.parse
label_desc: Use image node_id 2 for calling a global function with example usage: guess_all_extensions(type, strict) and returns: _db