added checkInterval() to PollingSensor to make design of derived classes simpler