check if way has nodes