I know you can use jupyter nbconvert --clear-output --inplace <file> (per here) to clear the output of a jupyter notebook. I'm wondering if there's an easy way to check if output has been cleared in a pre-commit hook. That way I can fail the pre-commit if it hasn't and force the user to try again. Thanks!