code: public boolean hasRelations(String baseTable, String baseColumn,
  			String relatedTable, String relatedColumn, String relation,
  			String mappingTable) throws SQLException {
  		return !getRelations(baseTable, baseColumn, relatedTable,
  				relatedColumn, relation, mappingTable).isEmpty();
  	}
docs: Determine if has one or more relations matching the non null provided
  values
  
  @param baseTable
  base table name
  @param baseColumn
  base primary column name
  @param relatedTable
  related table name
  @param relatedColumn
  related primary column name
  @param relation
  relation name
  @param mappingTable
  mapping table name
  @return true if has relations
  @throws SQLException
  upon failure
  @since 3.2.0