Revert "IDE-1833 Remove expletory check"

This reverts commit 059432898f87b15d146827ccae77afe6bec28ff5.
IDE-1833 Remove explicit check