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

```
lib/ansible/plugins/connection/__init__.py:238:8: ansible-deprecated-version: Deprecated version ('2.12') found in call to Display.deprecated or AnsibleModule.deprecate (0%)
lib/ansible/plugins/connection/__init__.py:245:8: ansible-deprecated-version: Deprecated version ('2.12') found in call to Display.deprecated or AnsibleModule.deprecate (0%)
lib/ansible/plugins/connection/__init__.py:252:8: ansible-deprecated-version: Deprecated version ('2.12') found in call to Display.deprecated or AnsibleModule.deprecate (0%)
lib/ansible/plugins/connection/__init__.py:259:8: 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/plugins/connection/__init__.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

display.deprecated(
            "Connection.check_missing_password is deprecated, calling code should be using become plugins instead",
            version="2.12", collection_name='ansible.builtin'
        )
        return self.become.check_missing_password(b_output)
class NetworkConnectionBase(ConnectionBase):
    """
    A base class for network-style connections.
    """
    force_persistence = True
    
    _remote_is_local = True
    def __init__(self, play_context, new_stdin, *args, **kwargs):
        super(NetworkConnectionBase, self).__init__(play_context, new_stdin, *args, **kwargs)
        self._messages = []
        self._conn_closed = False
        self._network_os = self._play_context.network_os
        self._local = connection_loader.get('local', play_context, '/dev/null')
        self._local.set_options()
        self._sub_plugin = {}
        self._cached_variables = (None, None, None)
        
        self._ansible_playbook_pid = kwargs.get('ansible_playbook_pid')
        self._update_connection_state()
    def __getattr__(self, name):