Is anyone filed immigrant petition on your behalf? Question in Ds160

If you have H1B petition from your employer, as H1B is non immigrant petition, what should a person give answer?
I am sure to mention NO as approved H1B petition is non immigrant petition.
Is it right?

Correct. Immigrant petition refers to immigrant visas. H-1B is a dual-intent visa but falls within the non-immigrant category.