def __init__(self, contextfactory, configuration,
                 identifier=None, logger=None):
        self._identifier = identifier or str(uuid.uuid4())
        self._context = None
        self._hookmanager = None
        self._contextfactory = contextfactory
        self.configuration = configuration
        self.logger = logger and logging.getLogger(
            "%s.%s" % (self.__module__, self.__class__.__name__))
dataset/ETHPy150Open F-Secure/see/see/environment.py/Environment.__init__/operator `or` -> `and`