Revert "revert check"

This reverts commit 14c448545eb4d497a816524ff2297530c9a244ed.