Stopping another Function

Is there a way in one function to stop another from proceeding? I am aware that I could use a variable and check if that variable is true/false, but I already have a whole lot of variables and would prefer to avoid cluttering my script with even more.

There are lots of ways, but it might help if you described the problem you are having and how you came up with that idea as the solution.