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