code: def uninstall_package_and_wait(
          package_name,
          service_name=None,
          all_instances=False,
          wait_for_completion=True,
          timeout_sec=600
  ):
      
  
      return uninstall_package(
          package_name,
          service_name,
          all_instances,
          wait_for_completion,
          timeout_sec
      )
docs: Uninstall a package via the DC/OS library and wait for completion
  
          :param package_name: name of the package
          :type package_name: str
          :param service_name: unique service name for the package
          :type service_name: str
          :param all_instances: uninstall all instances of package
          :type all_instances: bool
          :param wait_for_completion: whether or not to wait for task completion before returning
          :type wait_for_completion: bool
          :param timeout_sec: number of seconds to wait for task completion
          :type timeout_sec: int
  
          :return: True if uninstall was successful, False otherwise
          :rtype: bool