J, 99 8 bytes
1=#@~.@q1=#@=@q:
-1 byte thanks to xash
Tests if the uniqself-classify ~.= of the prime factors q: has length # equal to one 1=
J, 9 8 bytes
1=#@=@q:
-1 byte thanks to xash
Tests if the self-classify = of the prime factors q: has length # equal to one 1=