def _unicode_char(char):
    """Return true if character is Unicode (non-ASCII) character."""
    try:
        char.encode('ascii')
    except UnicodeDecodeError:
        return True
    return False
