def _path_is_abs(path):
 if (path is None):
  return True
 try:
  return os.path.isabs(path)
 except AttributeError:
  return False

def _path_is_abs ( path ) : if ( path is None ) : return True try : return os . path . isabs ( path ) except AttributeError : return False
return a bool telling whether or path is absolute .