There is no such function in main files. I dont really understand what are you trying to say here, because its just defines a new function which uses existing UltiSnips functions to check whether we expanded snippet or jumped to placeholder