minor change to PacketWriter
added function to check if ParameterPort(name) exists in Component