keras/src/layers/rnn/bidirectional.py/Bidirectional/states
class Bidirectional:    def states(self):
        if self.forward_layer.states and self.backward_layer.states:
            return tuple(self.forward_layer.states + self.backward_layer.states)
        return None