reduce conflict with nbformat v4 PR
fix equality check