hasAnnotation

inline fun <A : Annotation> KSAnnotated.hasAnnotation(): Boolean

True when this declaration carries an annotation of type A.