SELECT COUNT(id) = 0
FROM cards
WHERE nid = ?;