docs: private boolean contains(ArrayList defs, DefBase obj)
      {
          for (Iterator it = defs.iterator(); it.hasNext();)
          {
              if (obj.getName().equals(((DefBase)it.next()).getName()))
              {
                  return true;
              }
          }
          return false;
      }