def switch_case_all(word):
    """Switch the case of all the letters if the word contains at
    least one letter. This simulates the effect of caps-lock error.

    """
    w =  word.swapcase()
    if w != word:
        return w