Red cabbage gender test

Has anyone tried this? Was the result right?