code: def canProcessFilename(cls, filename):
          
          supported_patterns = cls._extpattern_to_mime.keys()
          for pattern in supported_patterns:
              if fnmatch.fnmatch(filename, pattern):
                  return True
          return False
docs: Check if we can process such file based on name
  
          :param filename: File name as 'mydoc.docx'
          :return: True if we can process such file