Check if the field contains the value, including the local value. If you need to exclude the local value, use instead:
value in field.withoutSelf().values