tests to see if there are any for loops

if not no work is done