@staticmethod
def is_nanp_number(number):
    'Simple check if number is inside North American Numbering Plan'
    if (isinstance(number, str) and RE_NANP.match(number)):
        return True
    return False
Simple check if number is inside North American Numbering Plan
@staticmethod
def is_nanp_number(number):
    
    if (isinstance(number, str) and RE_NANP.match(number)):
        return True
    return False