Remove unused lint check
Small coding changes
Add scope parameter for `isScheduled` and `getScheduledIds`