Infoblox Interview Question

Given an http endpoint that generates a die roll, write a function to determine if it is a fair roll