When we have a parent checkbox with children, the parent checkbox should display as indeterminate if not all children have the same state. Example from IntelliJ: 