def _isSkipPeripheryChecking(): return connectionManager.isStandalone() and CURRENT_REALM == 'CT'
def isValid(self): return (self.startTime is None or self.startTime > 0) and (self.finishTime is None or self.finishTime > 0) and (connectionManager.isStandalone() or self.__validatePeripheryIDs())
def needToChangePeriphery(self): return not connectionManager.isStandalone() and connectionManager.peripheryID not in self.peripheryIDs
def isValid(self): return (self.startTime is None or self.startTime > 0) and ( self.finishTime is None or self.finishTime > 0) and (connectionManager.isStandalone() or self.__validatePeripheryIDs())
def needToChangePeriphery(self): return not connectionManager.isStandalone( ) and connectionManager.peripheryID not in self.peripheryIDs