Improved delay function check functions.