parameters: (path, is_folder=False)
return_statement: return True
docstring: Checks if the given path exists.
  
  	Input:
  		path:      Path to be checked
  		is_folder: True if the checked path is a folder
  	Returns:
  		True if the given path exists
docstring_summary: Checks if the given path exists.
docstring_tokens: Checks if the given path exists .
function: def check_path(path, is_folder=False):
  	"""
  	Checks if the given path exists.
  
  	Input:
  		path:      Path to be checked
  		is_folder: True if the checked path is a folder
  	Returns:
  		True if the given path exists
  	"""
  	if not os.path.exists(path) or (not is_folder and not os.path.isfile(path)):
  		print('ERROR: Path "%s" does not exist!'%(path))
  		return False
  
  	return True
function_tokens: def check_path ( path , is_folder = False ) : if not os . path . exists ( path ) or ( not is_folder and not os . path . isfile ( path ) ) : print ( 'ERROR: Path "%s" does not exist!' % ( path ) ) return False return True