Human: a check funtion in for turned based game. Assistant: 
Here is a Python function to check a function in a turned based game

import re

def check_if_turn_based_game():
    """
    Check if the game is turn based or not.
    """
    return True

# Enter the string
game_type = "turn based"

# Calling the function
print((check_if_turn_based_game()))

#Example Output
# True

#Remember to inspect code for bugs.