put isinstance string code example
Example 1: if type is string python
isinstance(s, str)
Example 2: isinstance several variables
'check if variables days, months or years are all integers
if not all(isinstance(i, int) for i in [days, months, years]):