code: private boolean hasStyleRelationship(String mappingTableName,
  			String baseTable, String relatedTable) {
  
  		boolean has = false;
  
  		try {
  			has = relatedTables.hasRelations(baseTable, relatedTable,
  					mappingTableName);
  		} catch (SQLException e) {
  			throw new GeoPackageException(
  					"Failed to check if Feature Style Relationship exists. Base Table: "
  							+ baseTable + ", Related Table: " + relatedTable
  							+ ", Mapping Table: " + mappingTableName, e);
  		}
  
  		return has;
  	}
docs: Check if the style extension relationship between a feature table and
  style extension table exists
  
  @param mappingTableName
  mapping table name
  @param featureTable
  feature table name
  @param baseTable
  base table name
  @param relatedTable
  related table name
  @return true if relationship exists