#NEWLINE# def stepDimRel( self , stepConcept , linkrole ) : #NEWLINE# #INDENT# if stepConcept . isDimensionItem : #NEWLINE# #INDENT# return stepConcept . qname #NEWLINE# #UNINDENT# for rel in self . modelXbrl . relationshipSet ( 'XBRL-dimensions' ) . toModelObject ( stepConcept ) : #NEWLINE# #INDENT# if ( ( not linkrole ) or ( linkrole == rel . consecutiveLinkrole ) ) : #NEWLINE# #INDENT# dim = self . stepDimRel ( rel . fromModelObject , rel . linkrole ) #NEWLINE# if dim : #NEWLINE# #INDENT# return dim #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return None