def _check_unreachable(self, node):
    'check unreachable code'
    unreach_stmt = node.next_sibling()
    if (unreach_stmt is not None):
        self.add_message('unreachable', node=unreach_stmt)
check unreachable code
def _check_unreachable(self, node):
    
    unreach_stmt = node.next_sibling()
    if (unreach_stmt is not None):
        self.add_message('unreachable', node=unreach_stmt)