code: public boolean isA(String hypoID, String hyperID) {
          if (hypoID.equals(hyperID))
              return false;
          return getIdsForIdWithAncestors(hypoID).contains(hyperID);
      }
docs: Tests whether there is a direct or indirect is_a (or has_role)
  relationship between two IDs.
  
  @param hypoID
  The potential hyponym (descendant term).
  @param hyperID
  The potential hypernym (ancestor term).
  @return Whether that direct relationship exists.