I am modifying a plugin and I need to check for the existence of a custom tag that the plugin creates. This way I can skip tracks that have already been processed. The plugin grabs an “item” from lib.items(query). In the item it creates a tag called recording_year. I have tried:
if u’recording_year’ in item:
if u’recording_year’ in item.keys():
Both options do not skip already processed files. What is the proper method to check for the existence of the custom field?