def command_exists(cmd_name):
    return (find_entry_point_for_command(cmd_name) or
            is_exe_in_path('rbt-%s' % cmd_name))
Determine if the given command exists.
dataset/ETHPy150Open reviewboard/rbtools/rbtools/commands/__init__.py/command_exists