def _check_field_value(field_value, pattern):
if isinstance(field_value, list):<EOL><INDENT>return any(re.search(pattern, str(value), re.I) for value in field_value)<EOL><DEDENT>else:<EOL><INDENT>return re.search(pattern, str(field_value), re.I)<EOL><DEDENT>
Check a song metadata field value for a pattern.