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