Python Check If Array Or String Theory Embroidery