Gravar-mail: Determining whether a class of random graphs is consistent with an observed contact network