[sqlite]: rename has_next -> is_valid

Previously has_next didn't make any sense...