Next to a person’s name is a ○ symbol. When they are online this symbol will be brightly coloured and when they aren’t online it will be grey .
To double check send them a personal message that says the following:
‘Hi friend, I have a large chocolate cake that I’m not going to eat - would you like it?’
If they don’t respond, then they are not online.