Checking to make sure that deeplinkfunc is actually a function