isRegular() method