Add Python 3 version of check_x224.