Obviously it wouldn't be hard to one-off it with a...
# getting-started
e
Obviously it wouldn't be hard to one-off it with a boolean field, but I'm guessing you're looking for something more generic like
someMethod.invokeIfNotInvoked