Correct. Both graphs represent functions.