<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_instantiated_service(self, name):
 """ Get instantiated service by name """

        if name not in self.instantiated_services:
            raise UninstantiatedServiceException
        return self.instantiated_services[name]