(value: str)
Decide if value is probably a path. Windows has two path separators, so
    we should check both sep ('\\') and altsep ('/') there.
Decide if value is probably a path. Windows has two path separators, so
    we should check both sep ('\\') and altsep ('/') there.
Decide if value is probably a path . Windows has two path separators so we should check both sep ( \\ ) and altsep ( / ) there .
def _probably_path(value: str):
    """Decide if value is probably a path. Windows has two path separators, so
    we should check both sep ('\\') and altsep ('/') there.
    """
    if os.path.sep in value:
        return True
    elif os.path.altsep is not None and os.path.altsep in value:
        return True
    else:
        return False
def _probably_path ( value : str ) : if os . path . sep in value : return True elif os . path . altsep is not None and os . path . altsep in value : return True else : return False