Just make it into hasvar() calls yo.