.get_item('Instances') returns a DetailsItem() object, needed the .value attribute to return and also needed to be compared to a string.