No, the use of 'an' depends on the sound of the first letter of the noun. If the first letter of the noun is a vowel sound, 'an' should be used, such as 'an apple.' If the first letter of the noun is a consonant sound, 'a' should be used, such as 'a dog.'