def __init__(
      self,
      service_cls,
      protocol_factory=TBinaryProtocolAcceleratedFactory()):
    self._protocol_factory = protocol_factory
    self._seq_id = 0
    self._service_modules = [sys.modules[c.__module__]
                             for c in inspect.getmro(service_cls)
                             if not c is object]
    if len(self._service_modules) == 1:
      self._FindClass = self._FindClassNoInheritance
    else:
      self._attr_cache = {}
      self._FindClass = self._FindClassInheritance
Return True if given Distribution is installed in user site.
dataset/ETHPy150Open steveniemitz/scales/scales/thrift/serializer.py/MessageSerializer.__init__--crossover with--dataset/ETHPy150Open anzev/hedwig/build/pip/pip/utils/__init__.py/dist_in_usersite