I wrote a program that successfully tells me that the first quatrain in Shakespeare's Sonnet 130 is not in iambic pentameter.