def __init__(self, link, core,
                 response=None,
                 state=None,
                 curies=None,
                 _links=None,
                 _embedded=None,
                 ):
        '''Internal constructor. If you want to create a new
        HALNavigator, use the factory `Navigator.hal`
        '''
        if core.is_cached(link):
            # Don't want to overwrite a cached navigator
            return
        else:
            self.self = link
            self.response = response
            self.state = state
            self.fetched = response is not None
            self.curies = curies
            self._core = core
            self._links = _links or utils.CurieDict(core.default_curie, {})
            self._embedded = _embedded and utils.CurieDict(
                core.default_curie, {})
            core.cache(link, self)
dataset/ETHPy150Open deontologician/restnavigator/restnavigator/halnav.py/HALNavigatorBase.__init__/operator `or` -> `and`