If scheduler detection