presto-main/src/main/java/io/prestosql/metadata/FunctionRegistry.java/FunctionRegistry/allReturnNullOnGivenInputTypes
class FunctionRegistry:    private boolean allReturnNullOnGivenInputTypes(List<ApplicableFunction> applicableFunctions, List<Type> parameters)
    {
        return applicableFunctions.stream().allMatch(x -> returnsNullOnGivenInputTypes(x, parameters));
    }