fixed two typos
"lrigth" -> "lright"
__bool__ and __nonzero__ methods now returns boolean