IMO this looks hackish.  A nicer-looking solution would be:

```python
try:
    locale.setlocale(locale.LC_ALL, locale_n)
except locale.Error:
    return False
else:
    return True
```
(okay, the `return True` could go into the `try` block as well)