def METHOD_NAME(self, key):
    """Retrieve the service information from the device.
    Args:
        key: identifier of the type of information
    """
    if key in self.device.services_info[self.name]:
        return self.device.services_info[self.name][key]
    else:
        raise ValueError('Information {} not present in service informations for service {}'.format(key, self.name))