def is_string(value):
    'Check if the value is actually a string or not'
    try:
        float(value)
        return False
    except ValueError:
        if (value.lower() in ['true', 'false']):
            return False
        return True
Check if the value is actually a string or not
def is_string(value):
    
    try:
        float(value)
        return False
    except ValueError:
        if (value.lower() in ['true', 'false']):
            return False
        return True