code: def all(self, array, role = None):
          
          return self.reduce(array, reducer = np.logical_and, neutral_element = True, role = role)
docs: Return ``True`` if ``array`` is ``True`` for all members of the entity.
  
              ``array`` must have the dimension of the number of persons in the simulation
  
              If ``role`` is provided, only the entity member with the given role are taken into account.
  
              Example:
  
              >>> salaries = household.members('salary', '2018-01')  # e.g. [2000, 1500, 0, 0, 0]
              >>> household.all(salaries >= 1800)
              >>> array([False])