CH:affected( affect<string> )

Return type: boolean

Argument can be an affect flag (see "tables affect_flags") or a skill name (see "tables skill_table").