maybe this condition can be clearer if we test against truthy / falsy values or the other way round. nonetheless worried about the clarity of the code and nesting '?' statements.