Orderable: Check If a Location Has Been Selected

function is_orderable_location_selected() {
	$location_data = Orderable_Multi_Location_Pro::get_selected_location_data_from_session();
	return ! empty( $location_data['id'] );
}

Condition

if ( is_location_selected() ) {
	// Code to execute if a location is selected
} else {
	// Code to execute if no location is selected
}