How to check whether a list exists?
If you want to test whether a variable exists, you can follow this solution and see if it's in locals() or globals().  So your code would be

if 'verts' in globals() or 'verts' in locals():
    verts.append([1,1,1])
else:
    verts = [[0,0,0]]
    edges = []
    faces = []