presto-main/src/main/java/io/prestosql/sql/analyzer/RelationType.java/RelationType/canResolve
class RelationType:    public boolean canResolve(QualifiedName name)
    {
        return !resolveFields(name).isEmpty();
    }