code: def actor(key, request):
      if request.actor is None:
          raise KeyError
      return request.actor[key]
  
file_path: datasette/datasette/default_magic_parameters.py
imports: from datasette import hookimpl
  import datetime
  import os
  import time
label_desc: Use image node_id 2 for calling a global function with example usage: actor(key, request) and returns: request