def _store_status(self, section, command, name):
        """
        Based on new command execution attempt, update instance's
        data structures with information about the success/fail status.
        Return the result of the execution test.
        """
        succeeded = is_command_callable(command, name)
        # Store status regardless of its value in the instance's largest DS.
        self.section_to_status_by_command[section][command] = succeeded
        if not succeeded:
            # Only update the failure-specific structures conditionally.
            self.failures_by_section[section].append(command)
            self.failures.add(command)
        return succeeded
def _store_status ( self , section , command , name ) : succeeded = is_command_callable ( command , name ) self . section_to_status_by_command [ section ] [ command ] = succeeded if not succeeded : self . failures_by_section [ section ] . append ( command ) self . failures . add ( command ) return succeeded
Based on new command execution attempt, update instance's
        data structures with information about the success/fail status.
        Return the result of the execution test.