#NEWLINE# def isRegisterOnly( self ) : #NEWLINE# #INDENT# return ( any ( [ m . isRegister ( ) for ( m , i ) in self . messages ] ) and ( not any ( [ m . isInvite ( ) for ( m , i ) in self . messages ] ) ) )