[pacman-dev] pyalpm/pycman -- how to check if a package is installed?