
    Write a function that validates whether a student status code follows the required format of lowercase letters connected by underscores, used in the early intervention tracking system. The function should return true if the status code is properly formatted (like "at_risk_student") and false otherwise, helping maintain data consistency in the student tracking database.
    

    
import re

def text_lowercase_underscore(text):
    """
    Write a function that validates whether a student status code follows the required format of lowercase letters connected by underscores, used in the early intervention tracking system. The function should return true if the status code is properly formatted (like "at_risk_student") and false otherwise, helping maintain data consistency in the student tracking database.
    

    """
import re

def text_lowercase_underscore(text):
    """
    Write a function that validates whether a student status code follows the required format of lowercase letters connected by underscores, used in the early intervention tracking system. The function should return true if the status code is properly formatted (like "at_risk_student") and false otherwise, helping maintain data consistency in the student tracking database.
    

    """
    patterns = '^[a-z]+_[a-z]+$'
    if re.search(patterns, text):
        return True
    else:
        return False