Added type predication for is()