code: def get_snapshot_closest_to_state_change(
              self,
              state_change_identifier: int,
      ) -> Tuple[int, Any]:
          
  
          row = super().get_snapshot_closest_to_state_change(state_change_identifier)
  
          if row[1]:
              last_applied_state_change_id = row[0]
              snapshot_state = self.serializer.deserialize(row[1])
              result = (last_applied_state_change_id, snapshot_state)
          else:
              result = (0, None)
  
          return result
docs: Get snapshots earlier than state_change with provided ID.