Most Helpful Guy
Legally yes, it is still consent. But the appropriate thing to do would be to ask them if they're sure, and not go through with it even if they say they're sure but are clearly not wanting to have sex.
Most Helpful Girl
Legally yes that's consent. But morally, you should make sure they are ready to have sex.