Creature A grapples creature B. Creature B has Rake. Creature B attempts to rake creature A.
Can you rake when you did not start the grapple, and can't win a grapple check?
Edit 1: In this case, creature A is some kind of giant squid style monster, and creature B is an Androsphinx.
From what I understand, usually using Rake works like this- 1, attempt to grapple. 2, assuming grapple succeeds, roll attack roll. 3, assuming attack roll hits, roll Rake damage. My question is, if you are grappled, can you forgo step one?