def command_error(self, response):
<EOL>return (response[<NUM_LIT:2>] not in [response[<NUM_LIT:0>], '<STR_LIT>' + response[<NUM_LIT:0>]]<EOL>or response[<NUM_LIT:3>] is not None)<EOL>
Checks whether a command produced an error.

        Checks whether a command procuded an error based on its
        processed response. The two types of errors are an error
        returned by the drive and the command that the drive received
        being different than the one that was sent (error in
        transmission).

        Parameters
        ----------
        response : processed response (list)
            The processed response ``list`` for the command that was
            executed.

        Returns
        -------
        error : bool
            ``True`` if there was an error and ``False`` otherwise.