code: @Override
      public boolean isMyType(final Document document) {
          final Element e = document.getRootElement();
  
          if (e.getName().equals("opml") && (e.getChild("head") == null || e.getChild("head").getChild("docs") == null)
                  && (e.getAttributeValue("version") == null || e.getAttributeValue("version").equals("1.0"))) {
              return true;
          }
  
          return false;
      }
docs: Inspects an XML Document (JDOM) to check if it can parse it.
  <p>
  It checks if the given document if the type of feeds the parser understands.
  <p>
  
  @param document XML Document (JDOM) to check if it can be parsed by this parser.
  @return <b>true</b> if the parser know how to parser this feed, <b>false</b> otherwise.