<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setPollingRate(self, iPollingRate):
 """set data polling rate for sleepy end device Args: iPollingRate: data poll period of sleepy end device Returns: True: successful to set the data polling rate for sleepy end device False: fail to set the data polling rate for sleepy end device """

        print '%s call setPollingRate' % self.port
        print iPollingRate
        try:
            cmd = WPANCTL_CMD + 'setprop NCP:SleepyPollInterval %s' % str(iPollingRate*1000)
            print cmd
            return self.__sendCommand(cmd)[0] != 'Fail'
        except Exception, e:
            ModuleHelper.WriteIntoDebugLogger('setPollingRate() Error: ' + str(e))