code: def write_serializable_array(self, array):
          
          if array is None:
              self.write_byte(0)
          else:
              self.write_var_int(len(array))
              for item in array:
                  item.Serialize(self)
docs: Write an array of serializable objects to the stream.
  
          Args:
              array(list): a list of serializable objects. i.e. extending neo.IO.Mixins.SerializableMixin