JavaScript terminate function 3

function checkSomething() {
    //We did some coding here
    if (data) {
        return true;
    }
}

function checkAlso(param) {
    if (param) {
        //do code
    } else {
        return false;
    }
}

let someCheck = checkSomething();
checkAlso(someCheck);