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 ; }
Checks unidirectionality of semantic relations in the list .