code: public static boolean isStartElement(
              final XMLStreamReader reader,
              final String namespace,
              final String localName) {
          return reader.getEventType() == XMLStreamConstants.START_ELEMENT
                  && nameEquals(reader, namespace, localName);
      }
docs: Method isStartElement.
  
  @param reader
  XMLStreamReader
  @param namespace
  String
  @param localName
  String
  @return boolean