get_condition_status: Determine condition status in a term
Description
Checks whether a condition is present, absent (negated), or don't care
in a given term.
Usage
get_condition_status(term, condition)
Value
Character. One of "present", "absent", or "dontcare".
Arguments
- term
Character. Single term (e.g., "X1*X2", "~X3").
- condition
Character. Condition name (e.g., "X1").
Details
Uses word boundary matching to avoid false positives when
condition names are substrings of each other (e.g., X1 vs X10).