@staticmethod
def domains(domains):
    """
        list domains:  The list of domains to be pretty printed.
        """
    if 'resData' in domains:
        domains = domains['resData']
    output = '\n%i domains:\n' % len(domains['domain'])
    for domain in domains['domain']:
        output += 'Domain: %s (Status: %s)\n' % (domain['domain'], domain[
            'status'])
    return output
