Would you prefer keep a boolean of returning the matched value ?