code: protected function isSelected($arrOption)
  	{
  		if (empty($this->varValue) && empty($_POST) && $arrOption['default'])
  		{
  			return static::optionSelected(1, 1);
  		}
  
  		return static::optionSelected($arrOption['value'], $this->varValue);
  	}
docs: Check whether an option is selected
  
  @param array $arrOption The options array
  
  @return string The "selected" attribute or an empty string