def check_language_presence(match) -> bool:
    """Checks if some group is present inside the match object"""
    try:
        match.group('lang')
        return True
    except IndexError:
        return False