protected function isSelected(): bool
    {
        $key = $this->choices[$this->line]['key'];
        return array_key_exists($key, $this->selections);
    }
protected function isSelected(): bool
    {
        $key = $this->choices[$this->line]['key'];
        return array_key_exists($key, $this->selections);
    }
protected function isSelected ( ) : bool { $ key = $ this -> choices [ $ this -> line ] [ 'key' ] ; return array_key_exists ( $ key , $ this -> selections ) ; }
Check for current line

@return bool
Check for current line