Run
import phonenumbers # Phone number in a string phonenumber_string = "+442083661177" # Parse string to a PhoneNumber object x = phonenumbers.parse(phonenumber_string) # Check if the PhoneNumber is a possible number if phonenumbers.is_possible_number(x): print('Given phone number is possible.') else: print('Given phone number is not possible.')
Output