public function getControlPart($key = NULL)
{
$key = key([(string) $key => NULL]);
return parent::getControl()->addAttributes(['id' => $this->getHtmlId() . '-' . $key, 'checked' => in_array($key, (array) $this->value, TRUE), 'disabled' => is_array($this->disabled) ? isset($this->disabled[$key]) : $this->disabled, 'required' => NULL, 'value' => $key]);
}