[plugins] Move `is_worker` back