java check if list of objects contains value