Yes unless it is single line art or something. Also if it is abstract the textures may be messed around with but it would be useful to take note of them anyway.
I'm guessing you mean in Photoshop so you would 1. click the ruler tool 2. drag it along the line you know is straight 3. on the options bar, click straighten