The null check is not necessary, because the function does not fail because `PyUnicode_Check` is used on the value already.
extern