
    Write a function that validates transaction metadata strings in the fraud detection system by checking if they contain only sequences of lowercase letters joined with underscores, returning true for properly formatted entries (like "merchant_location_timestamp") and false otherwise. This validation ensures consistent log formatting and database record integrity across the fraud detection pipeline.
    

    
import re

def text_lowercase_underscore(text):
    """
    Write a function that validates transaction metadata strings in the fraud detection system by checking if they contain only sequences of lowercase letters joined with underscores, returning true for properly formatted entries (like "merchant_location_timestamp") and false otherwise. This validation ensures consistent log formatting and database record integrity across the fraud detection pipeline.
    

    """
import re

def text_lowercase_underscore(text):
    """
    Write a function that validates transaction metadata strings in the fraud detection system by checking if they contain only sequences of lowercase letters joined with underscores, returning true for properly formatted entries (like "merchant_location_timestamp") and false otherwise. This validation ensures consistent log formatting and database record integrity across the fraud detection pipeline.
    

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