How do I check if an option is already in a portfolio? I couldn’t find anything in the docs. Should be something simple like if len(options) == 0: continue

I’m thinking it has something to do with the Portfolio object but I couldn’t find the right keyword

With regular stocks I think it’s if Portfolio.Invested.


Any help appreciated. Thanks!