def is_valid_git_action(action):

    return action in GIT_ACTIONS
Returns true if the given action is one of git valid actions.
dataset/ETHPy150Open Djacket/djacket/core/backend/git/action.py/is_valid_git_action