##### SUMMARY
conditional contains call to Display.deprecated or AnsibleModule.deprecate and is scheduled for removal

```
lib/ansible/playbook/conditional.py:144:16: ansible-deprecated-version: Deprecated version ('2.12') found in call to Display.deprecated or AnsibleModule.deprecate (0%)
```

##### ISSUE TYPE
 - Bug Report

##### COMPONENT NAME
```
lib/ansible/playbook/conditional.py
```

##### ANSIBLE VERSION
```
2.12
```

##### CONFIGURATION
N/A

##### OS / ENVIRONMENT
N/A

##### STEPS TO REPRODUCE
N/A

##### EXPECTED RESULTS
N/A

##### ACTUAL RESULTS
N/A

'''
        Loops through the conditionals set on this object, returning
        False if any of them evaluate as such.
        '''
        
        
        
        ds = None
        if hasattr(self, '_ds'):
            ds = getattr(self, '_ds')
        result = True
        try:
            for conditional in self.when:
                
                if conditional is None or conditional == '':
                    res = True
                elif isinstance(conditional, bool):
                    res = conditional
                else:
                    res = self._check_conditional(conditional, templar, all_vars)
                
                if result:
                    result = res
                display.debug("Evaluated conditional (%s): %s" % (conditional, res))
                if not result:
                    break
        except Exception as e:
            raise AnsibleError("The conditional check '%s' failed. The error was: %s" % (to_native(conditional), to_native(e)), obj=ds)
        return result
    def _check_conditional(self, conditional, templar, all_vars):