[pacman-dev] [PATCH 7/9] Add an alpm_db_valid public function