

def is_cached(self, link):
    'Returns whether the current navigator is cached. Intended\n        to be overwritten and customized by subclasses.\n        '
    if (link is None):
        return False
    elif hasattr(link, 'uri'):
        return (link.uri in self.id_map)
    else:
        return (self in self.id_map)

dataset/ETHPy150Open deontologician/restnavigator/restnavigator/halnav.py APICore.is_cached/VarMisuse@55/103 `link`->`self`