This is a bit of a simple syntax question. I've been toying around with a simple strategy in Python where I sell options but I run into difficulty tracking when those short positions are assigned. I'm essentially looking for a way to return a boolean answer when my options are assigned so I can close the assigned position later down the line. I've searched through the docs but couldn't work out how to lay out the answer in code. The OptionPositionAssigned event seemed promising but calling Brokerage.OptionPositionAssigned.IsAssignment() doesn't seem to work