code: def remove_requirements(requirements, name, replace=""):
      new_requirements = []
      for requirement in requirements:
          if requirement.split(" ")[0] != name:
              new_requirements.append(requirement)
          elif replace is not None:
              new_requirements.append(replace)
      return new_requirements
  
imports: import sys
  import setuptools
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: remove_requirements(requirements, name, replace) and returns: new_requirements