Yes, this seems like a sensible approach, even though I'm always a bit wary of using special values like that.

How often is this expected to turn up in actual client code?