def METHOD_NAME(identity):
    # Given
    trait_key = "some_property"
    condition = Condition(operator=IS_SET, property=trait_key)
    traits = [Trait(trait_key=trait_key, identity=identity)]
    # Then
    assert condition.does_identity_match(identity, traits) is True