code: def isabspath(self):
          
          return (self.scheme is None and self.authority is None and
                  self.path.startswith(self.SLASH))
docs: Return :const:`True` if this is an absolute-path reference.