hasAnnotation

fun CustomizableElement.hasAnnotation(name: APIAnnotationName, generationMode: GenerationMode?): Boolean