public function isChoiceSelected($choice)
    {
        $val = $this->parsedVal();

        if ($val === null) {
            return false;
        }

        if (isset($choice['value'])) {
            $choice = $choice['value'];
        }

        if ($this->p()->multiple()) {
            return in_array($choice, $val);
        } else {
            return $choice == $val;
        }
    }