checks for presence icon in a more robust way