use hasattr() to check if element has completion_badge instance on it
use hasattr() to check if element has completion_badge instance on it

refs BGR-1367

concentricsky/badgr-server,concentricsky/badgr-server