code: def apply_interceptors(work_db, enabled_interceptors):
      
      names = (name for name in interceptor_names() if name in enabled_interceptors)
      for name in names:
          interceptor = get_interceptor(name)
          interceptor(work_db)
docs: Apply each registered interceptor to the WorkDB.