def _value_or_default(self, obj, key, default):
      return obj[key] if key in obj else default
dataset/ETHPy150Open apiad/sublime-browser-integration/selenium/webdriver/remote/errorhandler.py/ErrorHandler._value_or_default/original