This behavior is only valid for the following contexts:
Element/Checkbox.php
Element/MultiCheckbox.php

As such maybe it should be moved to the code block that exists in ln: 269.