boolean function ( Allergy arg0 , Collection < ? extends Allergy > arg1 ) { for ( Allergy loc0 : arg1 ) { if ( loc0 . hasSameAllergen ( arg0 ) ) { return true ; } } return false ; }
checks if a given allergy has the same allergen as any in the given allergies concode_field_sep String SEE_LIST concode_elem_sep String UNKNOWN concode_elem_sep String allergyStatus concode_elem_sep List<Allergy> allergies concode_elem_sep String NO_KNOWN_ALLERGIES concode_field_sep boolean add concode_elem_sep void add concode_elem_sep List<Allergy> subList concode_elem_sep Allergy set concode_elem_sep void throwExceptionIfHasDuplicateAllergen concode_elem_sep void throwExceptionIfHasDuplicateAllergen concode_elem_sep void confirmNoKnownAllergies concode_elem_sep boolean containsAll concode_elem_sep void clear concode_elem_sep boolean isEmpty concode_elem_sep boolean remove concode_elem_sep Allergy remove concode_elem_sep boolean remove concode_elem_sep int lastIndexOf concode_elem_sep Iterator<Allergy> iterator concode_elem_sep boolean contains concode_elem_sep boolean removeAll concode_elem_sep void throwExceptionIfHasAllergen concode_elem_sep int size concode_elem_sep boolean addAll concode_elem_sep boolean addAll concode_elem_sep Allergy get concode_elem_sep Object[] toArray concode_elem_sep T[] toArray concode_elem_sep ListIterator<Allergy> listIterator concode_elem_sep ListIterator<Allergy> listIterator concode_elem_sep Allergy getAllergy concode_elem_sep int indexOf concode_elem_sep String getAllergyStatus concode_elem_sep boolean retainAll