check if callback exists