code: def config(key, default=None):
      
      return Mocha._app.config.get(key, default) if Mocha._app else default
docs: Shortcut to access the application's config in your class
      :param key: The key to access
      :param default: The default value when None
      :returns mixed: