No, the requirement is that the job is for a speciality occupation and that the H1B be paid the prevailing wage for that job, not that there was an attempt to hire locally first.
For an I-140 PERM (employment based green card) however the requirement is that there was an effort made to hire locally first.
Most people on HN are uninformed about this, well actually uninformed in general.