This would be easy to figure out if you had some sort of 'marked' magnet lying around that indicated N and S poles.
However, let's assume you *don't*.
If we had an electromagnet set on a table, and we assumed that the 'core' of the windings were facing you, and the negative terminal was on the left, the wire was wound CLOCKWISE on the core, and the positive was on the right, how would we determine what pole was facing upwards at us?
Is this a job for Lef Hand Rule?
TIA