#NEWLINE# def findConcatenatedSMInfoElement( self , udh ) : #NEWLINE# #INDENT# iElems = [ iElem for iElem in udh if ( iElem . identifier in ( InformationElementIdentifier . CONCATENATED_SM_8BIT_REF_NUM , InformationElementIdentifier . CONCATENATED_SM_16BIT_REF_NUM ) ) ] #NEWLINE# assert ( len ( iElems ) <= 1 ) #NEWLINE# if ( len ( iElem ) == 1 ) : #NEWLINE# #INDENT# return iElems [ 0 ] #NEWLINE# #UNINDENT# return None