import random


def word_dropout(dropout_prob: float) -> bool:
    """ Toss a biased coin and return bool if to drop this token"""
    if random.random() < dropout_prob:
        return True
    return False