def METHOD_NAME(monkeypatch):
    """
    Prevent DB lookup for ES results because DB is empty.
    Since ImageSerializer has set ``needs_db`` to ``True``, all results from ES will be
    mapped to DB models. Since the test DB is empty, results array will be empty. By
    patching ``needs_db`` to ``False``, we can test the dead link filtering process
    without needing to populate the test DB.
    """
    monkeypatch.setattr("api.views.image_views.ImageSerializer.needs_db", False)