code: static boolean isJAXBElement(JType type) {
          //noinspection RedundantIfStatement
          if (type.fullName().startsWith(JAXBElement.class.getName())) {
              return true;
          }
          return false;
      }
docs: Returns true if the type is a JAXBElement. In the case of JAXBElements, we want to traverse its
  underlying value as opposed to the JAXBElement.
  @param type element type to test to see if its a JAXBElement
  @return true if the type is a JAXBElement