Use callable for checking is date is a function, refs #464