// verify that a run_id was provided to the program const runid_provided = run_id => { return (run_id ? true : false); } // Add negation function for readability (no 'unless' in js) export const runidNotProvided = run_id => { return !runid_provided(run_id); } // Check for prefix indicating a valid run id const startsWithRun = run_id => { return run_id.startsWith("run-"); } // Add negation function for readability (no 'unless' in js) export const runIdPrefixCheckFail = run_id => { return !startsWithRun(run_id); }