Should probably cast this to string and compare, e.g. 

    return "True" === (string) $this->data->ewayTrxnStatus;