Chat is this what I think it is

I think my lover bird might be “courting” my IKEA shark (would that mean she’s a male?), but I want to make sure it’s not something else and she’s not manifesting pain or discomfort She also has recently found a tote bag and she spends hours in it and refuses to come back to her cage, is this nesting behavior? Should I take the totebag down?