abstracted out exchange config checker