I think

```c
convert_to_string(route_name);
if (PHALCON_IS_NOT_EMPTY(route_name)) {
// ...
}
```

will be better just in case someone would want to use numeric names.