'Verify the publish state of an item in the xblock_info.'

def _verify_visibility_state(self, xblock_info, expected_state, path=None, should_equal=True):

    self._verify_xblock_info_state(xblock_info, 'visibility_state', expected_state, path, should_equal)
