#425 add array check to isid method