Added an is_string function since it string test is wodely used