We already have a requirement for an FA on the flightdeck if a pilot needs a pee, but that is purely because the lock is a simple one that cannot be opened from outside under any circumstances so the FA is there to open the door if the pilot flying has a heart attack or something.