code: def validate(self) -> None:
      # Validate/populate model exists
      self._models = SavedQueryDAO.find_by_ids(self._model_ids)
      if not self._models or len(self._models) != len(self._model_ids):
          raise SavedQueryNotFoundError()
  
file_path: superset/superset/commands/query/delete.py
imports: import logging
  from typing import Optional
  from superset.commands.base import BaseCommand
  from superset.commands.query.exceptions import SavedQueryDeleteFailedError, SavedQueryNotFoundError
  from superset.daos.exceptions import DAODeleteFailedError
  from superset.daos.query import SavedQueryDAO
  from superset.models.dashboard import Dashboard
label_desc: Use image node_id 3 for calling the DeleteSavedQueryCommand obj's underlying member method code with example usage: obj.validate() without return types