CI_Cart::has_options PHP Method

has_options() public method

Returns TRUE if the rowid passed to this function correlates to an item that has options associated with it.
public has_options ( string $row_id = '' ) : boolean
$row_id string = ''
return boolean
    public function has_options($row_id = '')
    {
        return isset($this->_cart_contents[$row_id]['options']) && count($this->_cart_contents[$row_id]['options']) !== 0;
    }