Simplify return expression

The following style return expressions are verbose:
    
    if (XXX)
        return true;
    return false;
    
You can write the above expressions by the following simple
return expression:
    
    return XXX;