Existent path test in flask.