def METHOD_NAME(self):
    try:
        addr = str(self.host.record)
    except Exception as ex:
        raise MDSplus.mdsExceptions.DevNO_NAME_SPECIFIED(str(ex))
    if len(addr) == 0:
        raise MDSplus.mdsExceptions.DevNO_NAME_SPECIFIED()
    return addr