#NEWLINE# def isSemanticDocument( self , modelDocument ) : #NEWLINE# #INDENT# if ( modelDocument . type == Type . SCHEMA ) : #NEWLINE# #INDENT# return ( modelDocument . inDTS or ( modelDocument . targetNamespace == 'http://arelle.org/doc/2014-01-31' ) ) #NEWLINE# #UNINDENT# return ( modelDocument . type in ( Type . INSTANCE , Type . INLINEXBRL , Type . LINKBASE ) )