checking if scheduler class exist