Java Cómo hacer una función booleana de recrutadores

return temp.info.equals(el) || contains(el, temp.next);
Energetic Eland