Can I only integrate my peak of interest to determine peak purity?

Working on an impurities method with a lot of peaks but I only want to determine peak purity of a single impurity. Is it okay to use inhibit integration so that only the peak of interest is integrated to calculate peak purity?