Avoid the use of is inside loops | CAST Appmarq