code: public static boolean isAnnotatedWithTrait(final ClassNode cNode) {
          List<AnnotationNode> traitAnn = cNode.getAnnotations(Traits.TRAIT_CLASSNODE);
          return traitAnn != null && !traitAnn.isEmpty();
      }
docs: Returns true if the specified class node is annotated with the {@link Trait} interface.
  @param cNode a class node
  @return true if the specified class node is annotated with the {@link Trait} interface.