code: def get_context():
      
      if not local_context._options:
          raise TelluricContextError("TelluricContext context not exists")
      else:
          log.debug("Got a copy of context %r options", local_context._options)
          return local_context._options.copy()
docs: Get a mapping of current options.