Both genders can answer. You can state assumptions like either the good friend already has someone new or not, or whatever the genders of the parties involved are, etc.
or