Whether the element has an annotation of the form @literal.
@literal
@override bool get hasLiteral => metadata.any((ElementAnnotation m) => m.isLiteral);