"if twitter_username and twitter_widget_id" maybe?