Add a pkg_has_message function to determine if a package has a message to display