Check the existence of callback