presto-parser/src/main/java/io/prestosql/sql/tree/Grant.java/Grant/equals
class Grant:    @Override
    public boolean equals(Object obj)
    {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }
        Grant o = (Grant) obj;
        return Objects.equals(privileges, o.privileges) &&
                Objects.equals(table, o.table) &&
                Objects.equals(tableName, o.tableName) &&
                Objects.equals(grantee, o.grantee) &&
                Objects.equals(withGrantOption, o.withGrantOption);
    }