docs: def _get_host(name, array):
      '''Private function to check host'''
      host = None
      for temp in array.list_hosts():
          if temp['name'] == name:
              host = temp
              break
      return host