code: def _get_assignments_in(self, filterlist, symbol = ""):
          
          if symbol != "":
              lsymbol = symbol
              for assign in self._assignments:
                  target = assign.split("%")[0].lower()
                  if target == lsymbol:
                      return True
          else:
              result = []
              for assign in self._assignments:
                  target = assign.split("%")[0].lower()
                  if target in filterlist:
                      result.append(assign)
              return result
docs: Returns a list of code elements whose names are in the specified object.
  
          :arg filterlist: the list of symbols to check agains the assignments.
          :arg symbol: when specified, return true if that symbol has its value
            changed via an assignment.