Whether the element has an annotation of the form @internal.
@internal
@override bool get hasInternal => metadata.any((ElementAnnotation m) => m.isInternal);