'Remove None checks from expressions that definitely do not
carry a None value.'

def visit_NoneCheckNode(self, node):

    self.visitchildren(node)
    if (not node.arg.may_be_none()):
        return node.arg
    return node
