src/Potter/Utils/Form/Fields/Checkable.php
protected function isSelected($value)
    {
        if (is_array($this->selected)):
            return in_array($value, $this->selected);
        endif;

        return $this->selected == $value;
    }
protected function isSelected($value)
    {
        if (is_array($this->selected)):
            return in_array($value, $this->selected);
        endif;

        return $this->selected == $value;
    }
@param $value

@return bool