presto-main/src/main/java/io/prestosql/sql/analyzer/Analysis.java/Analysis/hasTableInView
class Analysis:    public boolean hasTableInView(Table tableReference)
    {
        return tablesForView.contains(tableReference);
    }