(OFBIZ-10745) Improved boolean returns with single statement, replacing if blocks with explicit boolean return. Thanks Suraj Khurana and Jacques Le Roux for the review. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1849672 13f79535-47bb-0310-9956-ffa450edef68