private boolean isAnyCall(final List<INaviInstruction> instructions,final Set<INaviInstruction> calls){
  for (  final INaviInstruction naviInstruction : instructions) {
    if (calls.contains(naviInstruction)) {
      return true;
    }
  }
  return false;
}

private boolean isAnyCall ( final List < INaviInstruction > instructions , final Set < INaviInstruction > calls ) { for ( final INaviInstruction naviInstruction : instructions ) { if ( calls . contains ( naviInstruction ) ) { return true ; } } return false ; }
determines whether any of the given instructions is a function call .
