dpkg -c (or --contents) lists the contents of a .deb package file (It is a front-end to dpkg-deb.)
dpkg -c package_file.debTo work directly with package names rather than package files, you can use apt-file. (You may need to install the apt-file package first.)
sudo apt-file update apt-file list package_nameAs stated in the first comment, apt-file lists contents for packages in your already-configured Apt repositories. It is irrelevant whether any particular package is or is not installed.