code:     public boolean refersDirectlyTo(PyObject ob) {
          if (ob == null || co_consts == null) {
              return false;
          } else {
              for (PyObject obj: co_consts) {
                  if (obj == ob) {
                      return true;
                  }
              }
              return false;
          }
      }
  