def rewrite_single_shorthand_state_decl(data):  # pylint: disable=C0103
    for sid, states in six.iteritems(data):
        if isinstance(states, six.string_types):
            data[sid] = {states: []}
Check if the given file-hash belongs to a malicious file and we have
dataset/ETHPy150Open saltstack/salt/salt/renderers/stateconf.py/rewrite_single_shorthand_state_decl--crossover with--dataset/ETHPy150Open StackStorm/st2contrib/packs/lastline/actions/lib/analysis_apiclient.py/AnalysisClientBase.is_blocked_file_hash