def mmInformation(NetworkName_presence=0, NetworkName_presence1=0, TimeZone_presence=0, TimeZoneAndTime_presence=0, LsaIdentifier_presence=0):
 a = TpPd(pd=5)
 b = MessageType(mesType=50)
 packet = (a / b)
 if (NetworkName_presence is 1):
  c = NetworkNameHdr(ieiNN=67, eightBitNN=0)
  packet = (packet / c)
 if (NetworkName_presence1 is 1):
  d = NetworkNameHdr(ieiNN=69, eightBitNN=0)
  packet = (packet / d)
 if (TimeZone_presence is 1):
  e = TimeZoneHdr(ieiTZ=70, eightBitTZ=0)
  packet = (packet / e)
 if (TimeZoneAndTime_presence is 1):
  f = TimeZoneAndTimeHdr(ieiTZAT=71, eightBitTZAT=0)
  packet = (packet / f)
 if (LsaIdentifier_presence is 1):
  g = LsaIdentifierHdr(ieiLI=72, eightBitLI=0)
  packet = (packet / g)
 return packet

def mmInformation ( NetworkName_presence = 0 , NetworkName_presence1 = 0 , TimeZone_presence = 0 , TimeZoneAndTime_presence = 0 , LsaIdentifier_presence = 0 ) : a = TpPd ( pd = 5 ) b = MessageType ( mesType = 50 ) packet = ( a / b ) if ( NetworkName_presence is 1 ) : c = NetworkNameHdr ( ieiNN = 67 , eightBitNN = 0 ) packet = ( packet / c ) if ( NetworkName_presence1 is 1 ) : d = NetworkNameHdr ( ieiNN = 69 , eightBitNN = 0 ) packet = ( packet / d ) if ( TimeZone_presence is 1 ) : e = TimeZoneHdr ( ieiTZ = 70 , eightBitTZ = 0 ) packet = ( packet / e ) if ( TimeZoneAndTime_presence is 1 ) : f = TimeZoneAndTimeHdr ( ieiTZAT = 71 , eightBitTZAT = 0 ) packet = ( packet / f ) if ( LsaIdentifier_presence is 1 ) : g = LsaIdentifierHdr ( ieiLI = 72 , eightBitLI = 0 ) packet = ( packet / g ) return packet
mm information section 9 .