def _check_current_snapshot(self,now):
        if self._current_ts is not None:
            g1 = self.get_group_ts(self._current_ts)
            g2 = self.get_group_ts(now)
            if g1 != g2:
                self.log.debug("Snapshot complete at %s" % g1)
                self.end_snapshot(self._current_ts)
                self.flush_snapshots(g1)
        if self._current_snapshot is None:
            self.start_snapshot()
Return list of [(scope, trusted key), ...] for given scope.
dataset/ETHPy150Open serverdensity/sd-agent/resources/__init__.py/ResourcePlugin._check_current_snapshot--crossover with--dataset/ETHPy150Open chalasr/Flask-P2P/venv/lib/python2.7/site-packages/wheel/signatures/keys.py/WheelKeys.trusted