Added: Simple operator type check