Check callback type