I'm not sure whether it is wise to import this handy utility from rq.utils or not.