I understand that the whole default.py file is executed on each request to a function internal to it. But does it import if the statement evaluates to false?
For example if default.py has:
Function x():
If 1==2:
Import a
Does a get imported every time function x is called?