The check code for this already exists, but was untested. (cherry picked from commit 1996eaee547e046c8314cdb4a50a02eb9e59ce3f)
The check code for this already exists, but was untested. (cherry picked from commit 1996eaee547e046c8314cdb4a50a02eb9e59ce3f)