code: def get_values(self, profile, bitarray, status):
          ''' Get keys and values from bitarray '''
          if not self.init_ok or profile is None:
              return [], {}
  
          output = OrderedDict({})
          for source in profile.contents:
              if not source.name:
                  continue
              if source.name == 'value':
                  output.update(self._get_value(source, bitarray))
              if source.name == 'enum':
                  output.update(self._get_enum(source, bitarray))
              if source.name == 'status':
                  output.update(self._get_boolean(source, status))
          return output.keys(), outpuf get_values(self, profile, bitarray, status):
          ''' Get keys and values from bitarray '''
          if not self.init_ok or profile is None:
              return [], {}
  
          output = OrderedDict({})
          for source in profile.contents:
              if not source.name:
                  continue
              if source.name == 'value':
                  output.update(self._get_value(source, bitarray))
              if source.name == 'enum':
                  output.update(self._get_enum(source, bitarray))
              if source.name == 'status':
                  output.update(self._get_boolean(source, status))
          return output.keys(), output
docs: Get keys and values from bitarray