(self)
return not self._flavour.has_drv or bool(self._drv)
True if the path is absolute (has both a root and, if applicable,
        a drive).
True if the path is absolute (has both a root and, if applicable,
        a drive).
True if the path is absolute ( has both a root and if applicable a drive ) .
def is_absolute(self):
        """True if the path is absolute (has both a root and, if applicable,
        a drive)."""
        if not self._root:
            return False
        return not self._flavour.has_drv or bool(self._drv)
def is_absolute ( self ) : if not self . _root : return False return not self . _flavour . has_drv or bool ( self . _drv )