code: def _looks_like_functools_member(node, member):
      
      if isinstance(node.func, astroid.Name):
          return node.func.name == member
      elif isinstance(node.func, astroid.Attribute):
          return (
              node.func.attrname == member
              and isinstance(node.func.expr, astroid.Name)
              and node.func.expr.name == "functools"
          )
docs: Check if the given Call node is a functools.partial call