Make IsLast an attribute of Frame