Check if we can start a new task.
active < limit
function canStart(active, limit) { return active < limit; }