def METHOD_NAME(self):
    if self.__locals is None:
        locs = (LOCAL, CELL)
        test = lambda x: ((x >> SCOPE_OFF) & SCOPE_MASK) in locs
        self.__locals = self.__idents_matching(test)
    return self.__locals