def has_repeating_letter(text):
    """Check if a string has a repeating letter with one letter in between"""

    # Check every combination of three letters
    # and see if the first and third are the same.
    # If there is any such combination, return True, False otherwise.
    for i in range(len(text) - 2):
        if text[i] == text[i + 2]:
            return True

    return False