code: def outputs(self):
          
          outputs = self._outputs()
  
          if len(outputs) != len(self._output_layer_expected):
              # This will never happen in production.
              # Travis will fail before.
              # If this happen, it's an error from InaSAFE core developers.
              raise Exception(
                  'The computed count of output layers is wrong. It should be '
                  '{expected} but the count is {count}.'.format(
                      expected=len(self._output_layer_expected),
                      count=len(outputs)))
  
          return outputs
docs: List of layers containing outputs from the IF.
  
          :returns: A list of vector layers.
          :rtype: list