
    Create a function to validate bank product codes where a valid code must start with an account identifier ('a') followed by one or more product tier indicators ('b'), which determines the level of financial services offered to the customer. The function should return true for valid product codes like "abb" (basic tier) or "abbb" (premium tier), and false for invalid codes.
    

    
import re

def text_match_one(text):
    """
    Create a function to validate bank product codes where a valid code must start with an account identifier ('a') followed by one or more product tier indicators ('b'), which determines the level of financial services offered to the customer. The function should return true for valid product codes like "abb" (basic tier) or "abbb" (premium tier), and false for invalid codes.
    

    """
import re

def text_match_one(text):
    """
    Create a function to validate bank product codes where a valid code must start with an account identifier ('a') followed by one or more product tier indicators ('b'), which determines the level of financial services offered to the customer. The function should return true for valid product codes like "abb" (basic tier) or "abbb" (premium tier), and false for invalid codes.
    

    """
    patterns = 'ab+?'
    if re.search(patterns, text):
        return True
    else:
        return False