@classmethod
    def string_contains_colors(cls, colored_string):
        return len(cls.ANSI_REG.findall(colored_string)) > 0
Mask Generation Function, described in B.2.1
dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/colorlib/styles.py/Style.string_contains_colors--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pycrypto-2.6.1/lib/Crypto/Signature/PKCS1_PSS.py/MGF1