Just to add to above, the far left column of the system information window (F9) has a checkbox for survey states. Blank means no survey has been conducted by your empire, S means a survey has been conducted and nothing of value found, and M means a survey has been conducted and minerals of value were found.