def _p_status_att(self):
        stats_atts = ["messages","recent", "uidnext", "uidvalidity","unseen"]
        for status in stats_atts:
            stat = self._p_simple_string(status, silent = True)
            if stat is not None:
                return stat
        raise BadSyntax(value = "expected a status attribute: %s" % \
                        str(stats_atts))

    #######################################################################
    #
Validates URL parts.
dataset/ETHPy150Open scanner/asimap/asimap/parse.py/IMAPClientCommand._p_status_att--crossover with--dataset/ETHPy150Open IanLewis/kay/kay/utils/validators.py/is_valid_url_prefix