If you are looking for a way to check if a formula is still running in order to avoid concurrency or limit the amount of formulas running at a time, we have a sample sub-formula that can be used to check for pending formula executions. The formula JSON can be found at this link: subformulaExample.json and can be imported into your account. It may need to be altered to meet your use case, but it is just an example.