Check submodule visibility.