def convertSingletonByName(self, name):
        """Convert a singleton to an IVC by name, or None if it doesn't exist."""
        if name not in self.pythonNameToInstance:
            return None

        return self.pythonNameToInstance[name]
dataset/ETHPy150Open ufora/ufora/ufora/FORA/python/PurePython/PyforaSingletonAndExceptionConverter.py/PyforaSingletonAndExceptionConverter.convertSingletonByName/original