parameters: (filename)
docstring: Return True if the given file exists on the device and False otherwise.
docstring_summary: Return True if the given file exists on the device and False otherwise.
docstring_tokens: Return True if the given file exists on the device and False otherwise .
function: def remote_file_exists(filename):
    """Return True if the given file exists on the device and False otherwise."""
    try:
      adb_shell('test -f %s' % filename)
      return True
    except Exception:
      return False
function_tokens: def remote_file_exists ( filename ) : try : adb_shell ( 'test -f %s' % filename ) return True except Exception : return False