boolean (@NotNull PsiModifierListOwner listOwner, @NotNull Collection<String> annotations, @Flags int flags) { return ContainerUtil.exists(annotations, annotation -> isAnnotated(listOwner, annotation, flags, null)); }