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