Pkg3 for package developers

Do we have a replacement for the old Pkg.installed? Can I found out whether a package is available and/or what version is available?