You  should use `MCExecTypeConvertAndReleaseAlways` to convert the return value of `getcustomprop` to a bool