def is_dirty(self, ctx, mask=DIRTY_FLAGS_ALL):
        node_state = self._get_state(ctx)
        return node_state.dirty_flags & mask
Retrieve a validated and still-valid session whose client secret matches the one passed in
dataset/ETHPy150Open manahl/mdf/mdf/nodes.py/MDFNode.is_dirty--crossover with--dataset/ETHPy150Open matrix-org/sydent/sydent/db/valsession.py/ThreePidValSessionStore.getValidatedSession