code: private static boolean isConnectionSpecific(ConnectionNotation connectionNotation) {
  		String connection = connectionNotation.getSourceUnit() + ":" + connectionNotation.getrGroupSource() + "-"
  				+ connectionNotation.getTargetUnit() + ":" + connectionNotation.getrGroupTarget();
  		/* check for specific interaction */
  		if (connection.matches("\\d+:R\\d-\\d+:R\\d|\\d+:pair-\\d+:pair")) {
  			return true;
  		}
  		return false;
  	}
docs: method to check if the given connection is specific
  
  @param connectionNotation
  input ConnectionNotation
  @return true if the described connection is specific, false otherwise