Whether the element has an annotation of the form @sealed.
@sealed
@override bool get hasSealed => metadata.any((ElementAnnotation m) => m.isSealed);