def triple_rep(w):
    """Return 'True' if w has a letter repeated 3 times consecutively."""
    for i in range(len(w) - 2):
        if w[i] == w[i + 1] and w[i] == w[i + 2] and w[i].isalpha():
            return True
    return False
