
    Write a function that validates student risk factor identifiers by checking if they follow the school's data management system format of lowercase categories joined with underscores. The function should return true if the identifier follows this format (e.g., "attendance_grades_behavior") and false otherwise.
    

    
import re

def text_lowercase_underscore(text):
    """
    Write a function that validates student risk factor identifiers by checking if they follow the school's data management system format of lowercase categories joined with underscores. The function should return true if the identifier follows this format (e.g., "attendance_grades_behavior") and false otherwise.
    

    """
import re

def text_lowercase_underscore(text):
    """
    Write a function that validates student risk factor identifiers by checking if they follow the school's data management system format of lowercase categories joined with underscores. The function should return true if the identifier follows this format (e.g., "attendance_grades_behavior") and false otherwise.
    

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