'alert on empty SNS Policy'

def check_snstopicpolicy_empty(self, snsitem):

    tag = 'SNS    Topic    Policy    is    empty'
    severity = 1
    if (snsitem.config.get('policy', {}) == {}):
        self.add_issue(severity, tag, snsitem, notes=None)
