It does look like a male, But it really could just be a very nice female. The reason I say this is because the body shape and breeding tube seem off, But its almost too stocky and koky to be female. Appears to be male, but I would vent it to be sure.
Mating behavior has nothing to do with sexing a fish, unless you start seeing eggs coming out. Ive bred many fish all with different personalities and breed rituals. Some are diggers, some are wigglers, some are killers, some are lovers. That scuddling he is doing is just showing off to attract a mate.
Very nice fish you have here.