Can a stand-alone XBee perform logic control on its outputs?

In addition to receiving bluetooth data, can the XBee perform logic control of its outputs? For example, if I/O 4 goes high, toggle I/O 6? Is there a tutorial on this kind of programming?
(I’m very new at this, and need to make sure it can do what I need.)

No, Digi does not offer a Blue tooth device.