cw: Thanks, that's cleaner. I actually needed to do some different things than set a basic property in my real function, but your reply set me down the path to a cleaner solution. Strangely, 'hasProperty' will return false if you're querying about a custom attribute. 'isProperty', however, will work just fine. I ran into…