Great for requirement checks in bash. Just run and check the exit code.

python -m package.submodule > /dev/null 2>&1