Add comments widget check

Checking to see if the comments widget is available as some users remove comments altogether and this line throws an undefined notice in that case.