MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / __contains__

Method __contains__

mitmproxy/addonmanager.py:228–230  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

226 return pprint.pformat([str(i) for i in self.chain])
227
228 def __contains__(self, item):
229 name = _get_name(item)
230 return name in self.lookup
231
232 async def handle_lifecycle(self, event: hooks.Hook):
233 """

Callers

nothing calls this directly

Calls 1

_get_nameFunction · 0.85

Tested by

no test coverage detected