def _is_simple_type(value):
 return (isinstance(value, str) or isinstance(value, int) or isinstance(value, float) or isinstance(value, bool))

def _is_simple_type ( value ) : return ( isinstance ( value , str ) or isinstance ( value , int ) or isinstance ( value , float ) or isinstance ( value , bool ) )
returns true .