React.JS check if value exists in array of objects