Yes, that is a male. Good looking boy.

Sheds are not a very accurate way to measure a snake. Most shed will be longer then the snake really is.
The shed usually stretches out during the removal process which means you are measuring the scales and the skin between them.
Then once in awhile you'll get a shed that is shorter then the actual length of the snake.
Best to use a ruler. There is also a computer program used to measure them. I don't use it and am not familiar with it.
I'm sure another member can tell you about it.