Adding IsOneThroughNPandigital function.