add 'is' method