Check callback validity