Getting the RecurringJobId from a JobId in FilterAttribute

I would like to get the recurring job id at this level so I can check if is paused.
Using the technique explained here Pause/disable recurring job