ERT-781 Faster implementation of CSV_EXPORT

Let this function return `bool` and check the return value of `ecl_sum_get_general_var_node()`

```
if (node) {
   ....
   return true;
} else
   return false; 
```