public static boolean isContentTypeId(IDOMNode node,String contentTypeId){
  if (contentTypeId == null) {
    return false;
  }
  String nodeContentTypeId=getContentTypeId(node);
  return contentTypeId.equals(nodeContentTypeId);
}

public static boolean isContentTypeId ( IDOMNode node , String contentTypeId ) { if ( contentTypeId == null ) { return false ; } String nodeContentTypeId = getContentTypeId ( node ) ; return contentTypeId . equals ( nodeContentTypeId ) ; }
returns true if content type id of the sse dom node match a contenttypeid .
