Check that __iter__ takes no arguments