Use the isGap method in utils