code: def engine(self, engine):
      engine = engine.lower()
      if engine not in backend.ENGINES:
          raise ValueError(f"unknown engine: {engine!r}")
      self._engine = engine
  
imports: import codecs
  import locale
  import logging
  import os
  from .None import backend
  from .None import tools
label_desc: Use image node_id 2 for calling the Base obj's underlying member method code with example usage: obj.engine(engine) without return types