def calc_is_ok(branch):
    assert branch is not None
    if branch.is_null() or branch.is_new() or branch.is_abandoned():
        return None

    return not branch.is_status_bad()
Get the basic OAuth parameters to be used in generating a signature.
dataset/ETHPy150Open bloomberg/phabricator-tools/py/abd/abdt_branch.py/calc_is_ok--crossover with--dataset/ETHPy150Open idan/oauthlib/oauthlib/oauth1/rfc5849/__init__.py/Client.get_oauth_params