Logical Function checking for leading patterns

has_leading_pattern(strings, pattern)

Arguments

pattern

expression in a non-regex format that is automatically converted to the pattern$ in the function