def heads(self):
    if (self._heads is None):
        self._heads = self._getheads()
    return self._heads
def heads(self):
    if (self._heads is None):
        self._heads = self._getheads()
    return self._heads