pub fn remove_agent(doc: &mut DocumentMut, name: &str) -> bool
Returns false when no worker has the name.