'Returns the rport value expected by the old SIP code.'

def _getrport(self):

    if (self.rportRequested == True):
        return True
    elif (self.rportValue is not None):
        return self.rportValue
    else:
        return None
