class_docstr: Create several hooks on the modules in `ms` with `hook_func`.
code: def __getitem__(self, i):
      return self.hooks[i]
  
imports: from __future__ import annotations
  from ..basics import *
label_desc: Use image node_id 2 for calling the Hooks obj's underlying member method code with example usage: obj.__getitem__(i) and returns: self