'prepared_registry property'

@property
def prepared_registry(self):

    if (not self.__prepared_registry):
        results = self.prepare_registry()
        if ((not results) or (('returncode' in results) and (results['returncode'] != 0))):
            raise RegistryException('Could    not    perform    registry    preparation.    {}'.format(results))
        self.__prepared_registry = results
    return self.__prepared_registry
