presto-spi/src/main/java/io/prestosql/spi/security/PrivilegeInfo.java/PrivilegeInfo/equals
class PrivilegeInfo:    @Override
    public boolean equals(Object o)
    {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        PrivilegeInfo privilegeInfo = (PrivilegeInfo) o;
        return Objects.equals(privilege, privilegeInfo.privilege) &&
                Objects.equals(grantOption, privilegeInfo.grantOption);
    }