method 'contains'