code: def test_lstm_return_sequences():
      fx, fy, a = get_timeseries_graph_data()
  
      gcn_lstm_model = GCN_LSTM(
          seq_len=fx.shape[-2],
          adj=a,
          gc_layer_sizes=[16, 16, 16],
          gc_activations=["relu", "relu", "relu"],
          lstm_layer_sizes=[8, 16, 32],
          lstm_activations=["tanh"],
      )
      for layer in gcn_lstm_model._lstm_layers[:-1]:
          assert layer.return_sequences == True
      assert gcn_lstm_model._lstm_layers[-1].return_sequences == False
  
imports: import numpy
  import pandas
  import pytest
  from tensorflow.keras import Model
  from stellargraph import StellarGraph, IndexedArray
  from stellargraph.layer import GCN_LSTM
  from stellargraph.layer import FixedAdjacencyGraphConvolution
  from stellargraph.mapper import SlidingFeaturesNodeGenerator
  from ..None import test_utils
label_desc: Use image node_id 5 for calling a global function with example usage: test_lstm_return_sequences() without return types