def METHOD_NAME(node):
    if node is None:
        return None
    assert isinstance(node, (ast.expr, ast.stmt))
    if skip_incorrect and getattr(node, "incorrect_range", False):
        return None
    return node