def is_valid(self, node, lint_context):

        ea = node['ea']
        command = ea['cmd'].get('name', None)

        # It seems line jump command
        if command is None:
            return True

        is_prohibited_command = command in ProhibitedCommands
        if is_prohibited_command:
            return False

        should_be_with_bang = command in CommandsShouldBeWithBang
        if not should_be_with_bang:
            return True

        is_bang = ea.get('forceit', 0) == 1
        return is_bang
Whether the specified node is valid.
dataset/ETHPy150Open Kuniwak/vint/vint/linting/policy/prohibit_command_rely_on_user.py/ProhibitCommandRelyOnUser.is_valid