def infer_copy_deepcopy(call_node):
    """
    Look for a call_node (ie a function call) like this:
    schema = copy.deepcopy(...)
             ^^^^^^^^^^^^^
    Ignore any function calls that are not copy.deepcopy().
    """
    if not (
        isinstance(call_node, nodes.Call)
        and call_node.func.as_string() == "copy.deepcopy"
    ):
        return
    return next(call_node.args[0].infer())

    Look for a call_node (ie a function call) like this:
    schema = copy.deepcopy(...)
             ^^^^^^^^^^^^^
    Ignore any function calls that are not copy.deepcopy().
    
pylint_plugins/api_models.py