Apple is getting hard on jailbreak community and latest example is a restriction on iBooks. Comex was the first one who found that the iBooks application includes a control code, capable of determining whether a device has been jailbreak to or not. The control is very simple. Before you open any book with DRM protection, iBooks drops an improperly signed binary, tries to execute it, and if it works concludes that the device is jailbroken and refuses to open the book.
Basically if the code works, then the device is Jailbroken ...