Help With Creating Shortcode

It seems that extract() function sets it to false if value is not provided.
There might be a better way around it, but I’ve used workaround as follows

function Test($atts) {
    extract(shortcode_atts(array(
     'row' => null
    ), $atts));

    $output="false";
    if( in_array('row', $atts))
        $output="true";

    return $output;
}
add_shortcode("test", "Test");