Consider the following definitions:public boolean someMethod (int[] list, int value){ int counter; boolean flag = false; for (counter = 0; counter < list.length; counter++) { flag = (list[counter] != value); } return flag;}Under which of the following conditions must the method above return true?A. Under all conditionsB. Under the condition that value == list[list.length − 1]C. Under the condition that value != list[list.length − 1]D. Under the condition that value != list[i] for all i such that 0 <= i < list.lengthE. Under no conditions