Friendship

Im confused on how you check a pokemons friendship. I saw you can check it based on a certain phrase, but i was confused were you are able to see that phrase?
(trying to evolve riolu)
Edit:
I just accidentally interacted w/ riolu and thats were it tells you.