fix isEmptyRTEString using deprecated EmptyCheckCommand