Function isExpectingInt