def path_is_remote(path, s3=True):
prefixes = ("<STR_LIT>", "<STR_LIT>", "<STR_LIT>")<EOL>if s3:<EOL><INDENT>prefixes += ("<STR_LIT>", "<STR_LIT>")<EOL><DEDENT>return path.startswith(prefixes)<EOL>
Determine whether file path is remote or local.

Parameters
----------
path : path to file

Returns
-------
is_remote : bool