Swap the purpose-built has_any_rom() probe for the existing
db_stats_handler.get_roms_count(), per review. The count is already
served from an index-only scan and backs the stats endpoint, so it
carries the same cost here without adding a second way to ask the
database whether the library has been scanned.
Leaves roms_handler.py untouched by this branch.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>