@util.Throttle(SESSION_CLEAR_INTERVAL)
    def _remove_expired(self):
        """Remove any expired sessions."""
        now = date_util.utcnow()
        for key in [key for key, valid_time in self._sessions.items()
                    if valid_time < now]:
            self._sessions.pop(key)
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/http.py/SessionStore._remove_expired/original