$status = $foo->is_ready() and $foo->needs_munging() ? $foo->munge() : $foo->status();