Do we have a method like that? Are you want that loop to be inside isStateless function?