You could use in to check if a string is contained in another:
'toyota innova' in 'toyota innova 7' # True
'tempo traveller' in 'tempo traveller 15 str' # True
If you only want to match the start of the string, you can use str.startswith:
'toyota innova 7'.startswith('toyota innova') # True
'tempo traveller 15 str'.startswith('tempo traveller') # True
Alternatively, if you only want to match the end of the string, you can use str.endswith
'test with a test'.endswith('with a test') # True