apiGenerator: iOS add hasCallback method;