src/fieldwork/components/SelectBox.php
protected function isSelected ($v)
    {
        return $this->value === $v || (is_array($this->value) && in_array($v, $this->value));
    }
protected function isSelected ($v)
    {
        return $this->value === $v || (is_array($this->value) && in_array($v, $this->value));
    }
protected function isSelected ( $ v ) { return $ this -> value === $ v || ( is_array ( $ this -> value ) && in_array ( $ v , $ this -> value ) ) ; }
Determines whether the given value is currently selected

@param $v

@return bool
Determines whether the given value is currently selected