Freaky Ali is inspired from Happy Gilmore?

Freaky Ali and Happy Gilmore have many thing in common, from scenes to plot line.