unknown keys when looking up photo:getDevelopSettings(keyname), etc.
i have some code that gets strings from a web server and in those strings are keys for looking up info from Photos. the keys can be passed into
photo:getDevelopSettings(keyname), photo:getFormattedMetadata(keyname), or photo:getRawMetadata(keyname) -- the problem is that sometimes these keys can be garbage or contain spelling errors (in some cases, even if they were harvested from the official Lightroom SDK docs) and they throw errors. what's the best way to check to see if the key being used for these methods is valid or, failing that, to intercept the errors that happen?