code: def bidirectional(self):
      return self.rnn_type.startswith("bi")
  
imports: import tensorflow
  from tensorflow.contrib import rnn
  from tensorflow.python.ops import array_ops
  from ..models.basic_model import BasicModel
  import numpy
  import os
label_desc: Use image node_id 2 for calling the EncoderNet obj's underlying member method code with example usage: obj.bidirectional() and returns: self