In this challenge, you have to establish if a given number is Brilliant. A Brilliant number is a semiprime that can be obtained only by multiplicating two, and only two, different primes with the same number of digits.
A semiprime can be:
Given an integer n, implement a function that returns True if n is a Brilliant number, or False if it's not.
is_brilliant(11) ➞ False
# 11 is a prime.
is_brilliant(9) ➞ True
# 9 is equal to the square of a prime: 3²
is_brilliant(21) ➞ True
# 21 is equal to the product of two different primes: 3 x 7
# 3 and 7 have the same digital length.
is_brilliant(22) ➞ False
# 22 is equal to the product of two different primes: 2 x 11
# 2 and 11 have different digital lengths.
n will be a positive integer greater than 0.