presto-main/src/main/java/io/prestosql/sql/analyzer/Field.java/Field/matchesPrefix
class Field:    public boolean matchesPrefix(Optional<QualifiedName> prefix)
    {
        return !prefix.isPresent() || relationAlias.isPresent() && relationAlias.get().hasSuffix(prefix.get());
    }