Also check for the negation: `defined\((.+?)\) && !\1.isConstant`