def is_symbolic_batch(batch):
 return _is_batch_all(batch, (lambda x: isinstance(x, theano.gof.Variable)))

def is_symbolic_batch ( batch ) : return _is_batch_all ( batch , ( lambda x : isinstance ( x , theano . gof . Variable ) ) )
returns true if batch is a symbolic variable .