First check if an input is set to the value we are searching for so that the input vector is more relaxed