
    Write a function that validates whether a student tracking code follows the school database naming convention, which requires all codes to consist of lowercase letters connected by underscores. The function should return true if the tracking code follows this format and false otherwise.
    

    
import re

def text_lowercase_underscore(text):
    """
    Write a function that validates whether a student tracking code follows the school database naming convention, which requires all codes to consist of lowercase letters connected by underscores. The function should return true if the tracking code follows this format and false otherwise.
    

    """
import re

def text_lowercase_underscore(text):
    """
    Write a function that validates whether a student tracking code follows the school database naming convention, which requires all codes to consist of lowercase letters connected by underscores. The function should return true if the tracking code follows this format and false otherwise.
    

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