nodes: 0, module; 1, function_definition; 2, function_name:returnValue; 3, parameters; 4, block; 5, identifier:self; 6, identifier:key; 7, default_parameter; 8, expression_statement; 9, expression_statement; 10, if_statement; 11, expression_statement; 12, return_statement; 13, identifier:last; 14, False; 15, string:'''Return the key's value for the first entry in the current list.
          If 'last=True', then the last entry is referenced."
  
          Returns None is the list is empty or the key is missing.
  
          Example of use:
  
          >>> test = [
          ...    {"name": "Jim",   "age": 18, "income": 93000, "order": 2},
          ...    {"name": "Larry", "age": 18,                  "order": 3},
          ...    {"name": "Joe",   "age": 20, "income": 15000, "order": 1},
          ...    {"name": "Bill",  "age": 19, "income": 29000, "order": 4},
          ... ]
          >>> print PLOD(test).returnValue("name")
          Jim
          >>> print PLOD(test).sort("name").returnValue("name", last=True)
          Larry
          >>> print PLOD(test).sort("name").returnValue("income", last=True)
          None
  
          :param last:
             If True, the last entry is used rather than the first.
          :return:
             A value, or None if the list is empty or the key is missing.
          '''; 16, assignment; 17, not_operator; 18, block; 19, assignment; 20, call; 21, identifier:row; 22, call; 23, identifier:row; 24, return_statement; 25, identifier:dict_row; 26, call; 27, attribute; 28, argument_list; 29, attribute; 30, argument_list; 31, None; 32, attribute; 33, argument_list; 34, identifier:dict_row; 35, identifier:get; 36, identifier:key; 37, None; 38, identifier:self; 39, identifier:returnOneEntry; 40, keyword_argument; 41, identifier:internal; 42, identifier:convert_to_dict; 43, identifier:row; 44, identifier:last; 45, identifier:last
code: def returnValue(self, key, last=False):
          '''Return the key's value for the first entry in the current list.
          If 'last=True', then the last entry is referenced."
  
          Returns None is the list is empty or the key is missing.
  
          Example of use:
  
          >>> test = [
          ...    {"name": "Jim",   "age": 18, "income": 93000, "order": 2},
          ...    {"name": "Larry", "age": 18,                  "order": 3},
          ...    {"name": "Joe",   "age": 20, "income": 15000, "order": 1},
          ...    {"name": "Bill",  "age": 19, "income": 29000, "order": 4},
          ... ]
          >>> print PLOD(test).returnValue("name")
          Jim
          >>> print PLOD(test).sort("name").returnValue("name", last=True)
          Larry
          >>> print PLOD(test).sort("name").returnValue("income", last=True)
          None
  
          :param last:
             If True, the last entry is used rather than the first.
          :return:
             A value, or None if the list is empty or the key is missing.
          '''
          row = self.returnOneEntry(last=last)
          if not row:
              return None
          dict_row = internal.convert_to_dict(row)
          return dict_row.get(key, None)