'Helper method for recording status logs against Host.job that
silently becomes a NOP if Host.job is not available. The args and
dargs are passed on to Host.job.record unchanged.'

def record(self, *args, **dargs):

    if self.job:
        self.job.record(*args, **dargs)
