Java, как сделать убудительную логическую функцию

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