It would be nice (and maybe save some confusion about what's being returned) if lines 19-20 were replaced by something like:

    if ( $wm->isWallOwner( $user ) )

where "isWallOwner" would accept either a user name or a user object