I have a javascript function.
How to check:
if function was called ( in section have this function), then not
If (!your_func.called) { your_func.called = true; your_func(); }