compute_publish_state -> has_published_version

LMS-11213

@nasthagiri @cpennington one or both please review
Maybe just call it `verify_item_published`?