code: def got_a(self, _type):
          
          if _type not in self.modules:
              raise ValueError("No such module, %s" % _type)
          return (_type in self.insts_implementing and
                  self.insts_implementing[_type])
docs: Returns whether there is an instance implementing <_type>