Return whether drawing is available to *o*.
(self, o)
| 52 | self._owner = None |
| 53 | |
| 54 | def available(self, o): |
| 55 | """Return whether drawing is available to *o*.""" |
| 56 | return not self.locked() or self.isowner(o) |
| 57 | |
| 58 | def isowner(self, o): |
| 59 | """Return whether *o* owns this lock.""" |