
    Write a function that validates whether a learning module identifier follows the correct naming convention by checking if it consists of lowercase course segment names connected with underscores. The function should return true if the module identifier follows this format (like "basic_algebra_fundamentals") and false otherwise.
    

    
import re

def text_lowercase_underscore(text):
    """
    Write a function that validates whether a learning module identifier follows the correct naming convention by checking if it consists of lowercase course segment names connected with underscores. The function should return true if the module identifier follows this format (like "basic_algebra_fundamentals") and false otherwise.
    

    """
import re

def text_lowercase_underscore(text):
    """
    Write a function that validates whether a learning module identifier follows the correct naming convention by checking if it consists of lowercase course segment names connected with underscores. The function should return true if the module identifier follows this format (like "basic_algebra_fundamentals") and false otherwise.
    

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