code: def can_process_shell(self, entry):
          
          count = 0
          condition = render(entry['when'], variables=self.pipeline.variables,
                             model=self.pipeline.model, env=self.get_merged_env(include_os=True))
  
          if Condition.evaluate("" if condition is None else condition):
              if len(self.pipeline.options.tags) == 0:
                  return True
  
              if 'tags' in entry:
                  for tag in self.pipeline.options.tags:
                      if tag in entry['tags']:
                          count += 1
  
          return count > 0
docs: :return: True when shell can be executed.