code: def canRender(filename):
          
          name, ext = os.path.splitext(filename)
          ext = ext.lstrip('.').lower()
          if ext in ImageRenderer._extensions:
              return 100
          else:
              return False
docs: Check extensions.