Check for ternary operators