Document literal-membership
fix safety conditions
#9677
Merged
literal-membership
fix safety conditions
#9677