`hasAttribute('selected')` is likely safer