If you define a function in your python script and later want to use this function and possibly others inside a different function would this always work or are there any cases