<p>How do I check whether a file exists or not, without using the <a href="https://docs.python.org/3.6/reference/compound_stmts.html#try" rel="noreferrer"><code>try</code></a> statement?</p>

```
```
import os

if os.path.isfile(filepath):
   print("File exists")
```
```