code: private boolean isUnidirestionalList(RelationshipList list) {
          if (list.size() > 0) {
              try {
                  if (((AsymmetricRelationship) list.get(0)).getCommonParentIndex() == 0) {
                      return true;
                  }
              } catch (java.lang.IndexOutOfBoundsException ex) {
                  return true;
              }
          }
          return false;
      }
docs: Checks unidirectionality of semantic relations in the list.
  
  @param list a list with relations
  @return true if relations in the list are unidirectional