@staticmethod
def verify_fax_numbers(to_fax_number):
    'Verify and prepare fax numbers for use at SRFax'
    try:
        if isinstance(to_fax_number, basestring):
            to_fax_number = [to_fax_number]
    except NameError:
        if isinstance(to_fax_number, str):
            to_fax_number = [to_fax_number]
    if (not isinstance(to_fax_number, list)):
        raise TypeError('to_fax_number not properly defined')
    for i in range(len(to_fax_number)):
        number = str(to_fax_number[i])
        if (not SRFax.is_e164_number(number)):
            raise TypeError(('Number not in E.164 format: %s' % number))
        if SRFax.is_nanp_number(number):
            to_fax_number[i] = number[1:]
        else:
            to_fax_number[i] = ('011' + number[1:])
    return to_fax_number
Verify and prepare fax numbers for use at SRFax
@staticmethod
def verify_fax_numbers(to_fax_number):
    
    try:
        if isinstance(to_fax_number, basestring):
            to_fax_number = [to_fax_number]
    except NameError:
        if isinstance(to_fax_number, str):
            to_fax_number = [to_fax_number]
    if (not isinstance(to_fax_number, list)):
        raise TypeError('to_fax_number not properly defined')
    for i in range(len(to_fax_number)):
        number = str(to_fax_number[i])
        if (not SRFax.is_e164_number(number)):
            raise TypeError(('Number not in E.164 format: %s' % number))
        if SRFax.is_nanp_number(number):
            to_fax_number[i] = number[1:]
        else:
            to_fax_number[i] = ('011' + number[1:])
    return to_fax_number