code: def needed_at(self, func_idx):
      needed = self.begin_func_idx <= func_idx
      needed &= self.end_func_idx >= func_idx
      return needed
  
file_path: nnabla/python/src/nnabla/utils/converter/nnablart/save_variable_buffer.py
imports: import numpy
label_desc: Use image node_id 2 for calling the _LifeSpan obj's underlying member method code with example usage: obj.needed_at(func_idx) and returns: needed