def METHOD_NAME(self, label_visibility_value, proto_value):
    """Test that it can be called with label_visibility param."""
    st.checkbox("the label", label_visibility=label_visibility_value)
    c = self.get_delta_from_queue().new_element.checkbox
    self.assertEqual(c.label, "the label")
    self.assertEqual(c.label_visibility.value, proto_value)