code: def test_lisp_to_nested_expression(self):
      logical_form = "((reverse fb:row.row.year) (fb:row.row.league fb:cell.usl_a_league))"
      expression = util.lisp_to_nested_expression(logical_form)
      assert expression == [
          [
              ["reverse", "fb:row.row.year"],
              ["fb:row.row.league", "fb:cell.usl_a_league"],
          ]
      ]
      logical_form = "(count (and (division 1) (tier (!= null))))"
      expression = util.lisp_to_nested_expression(logical_form)
      assert expression == [
          [
              "count",
              ["and", ["division", "1"], ["tier", ["!=", "null"]]],
          ]
      ]
  
imports: from __future__ import absolute_import
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.semparse import util
label_desc: Use image node_id 1 for calling the TestSemparseUtil obj's underlying member method code with example usage: obj.test_lisp_to_nested_expression() without return types