example usage. if "Scene" in bpy.data.scenes: print(True) Only works for strings with collection property types.