I think this function should go in whapps_util, after get_master_account_id/0