no not what I meant. but sure you can do that.
a little tip: don't include special characters like question marks or exclamation marks in you object names. keep them as simple as possible & join them together with _underscores.
I'm not sure exactly why you are wanting to do this or whether all conditions are grouped in same place, same scene, character or whatever. It's not really possible to create a global function for doing this as the conditions could be from multiple different places.
So yeah, probably better to write them out as you have done above.
here check out this
page I wrote, for a bit more information in regards to getObject