Well, setHasCustomSync and getHasCustomSync will be removed.

checkHasCustomSync is exposed for testing to improve test coverage...