def valid_fileproto(uri):
    try:
        return bool(re.match('^(?:salt|https?|ftp)://', uri))
    except Exception:
        return False
Returns a boolean value based on whether or not the URI passed has a valid
dataset/ETHPy150Open saltstack/salt/salt/client/ssh/wrapper/config.py/valid_fileproto