presto-thrift-api/src/main/java/io/prestosql/plugin/thrift/api/datatypes/PrestoThriftDouble.java/PrestoThriftDouble/sameSizeIfPresent
class PrestoThriftDouble:    private static boolean sameSizeIfPresent(boolean[] nulls, double[] doubles)
    {
        return nulls == null || doubles == null || nulls.length == doubles.length;
    }