Is a straight edge, straight? Ahh, now we jump into the deep and the arcane! Depends on how level is the surface you use to measure the edge. And the precision of the instrument you measure the surface. Metrology is a subject approaching philosophy and way beyound my meager knowledge. Actually there is a section on this forum that has several interesting discussions about this.
However there are some practical methods. Robert,above, posted a very good method to verify straightness. Usually you do this three times, with three different locations on the same reference surface, then average the three. You could also use a granite surface plate. Even a large square of plate glass will do. Precision straight edges are large, heavy, reinforced and very expensive instruments - in the realm of thousands of dollars. Delivered with an inspection certificate guareeteeing variation in the edge in the area of tenths or less - ten thousands of an inch. One must hang these vertically to insure the metal doesn't take a set and throw off the edge. So not generally available at a decent price.
Personally for a quick check i have used my aluminium carpenters rule - which I have found to be surprisingly 'straight'. Stainless 18" drafting rulers are often pretty good. You can measure deviation of what ever straightedges you might have around the shop, with feeler gauges, mark location of the variance on the device with a marking pen and subtract from your way measurements - gives you a reasonable assessment in thousands. For me, good enuf. I don't worrry much about nano measurements.
As to where to find a decent straight edge. you could check eBay. I've seen a lot of 'surplus' high quality metrology instruments coming out of Russian - old soviet block countries - for cheap. Apparently old time socialist party machinists turn out to be pretty good entrepreneurs!
Glenn