use allowance to check if a shift is a night shift or not