'Checks if current version of Reaver supports the pixie-dust attack'

def is_pixie_supported(self):

    p = Popen(['reaver', '-h'], stdout=DN, stderr=PIPE)
    stdout = p.communicate()[1]
    for line in stdout.split('\n'):
        if ('--pixie-dust' in line):
            return True
    return False
