No, this is a myth. Employers can sponsor H-1B visas for any "speciality occupation" regardless of whether a citizen is available to do the job or not. Legally there are no restrictions in place re: criteria. The only thing they are required to do is pay the prevailing wage. Tests for whether a citizen can do the job only come into play later when they are sponsoring a green card.