how to check multiple value of same attribute