include is_com parameter in sample code

is_com param =False is for no verify if the device  is in the comports
list