Available since: Gideros 2012.09.6 Class: b2.Body
(bool) = b2.Body:isSleepingAllowed()
Returns (bool) if body is allowed to sleep