code: def check_import_stdlib(module):
          
          if (
              module in stdlib_list('2.7')  # pylint: disable=R0916
              or module in stdlib_list('3.4')
              or module in stdlib_list('3.5')
              or module in stdlib_list('3.6')
              or module in stdlib_list('3.7')
              or module in ['app', 'args', 'playbook_app']
          ):
              return True
          return False
docs: Check if module is in Python stdlib.
  
          Args:
              module (str): The name of the module to check.
  
          Returns:
              bool: Returns True if the module is in the stdlib or template.