presto-main/src/main/java/io/prestosql/metadata/MetadataManager.java/MetadataManager/usesLegacyTableLayouts
class MetadataManager:    @Override
    public boolean usesLegacyTableLayouts(Session session, TableHandle table)
    {
        return getMetadata(session, table.getCatalogName()).usesLegacyTableLayouts();
    }