code: def build_sha1(self):
          
          # pylint: disable=len-as-condition
          if len(self.dutinformation) > 0 and (self.dutinformation.get(0).build is not None):
              return self.dutinformation.get(0).build.sha1
          return None
docs: get sha1 hash of build.
  
          :return: build sha1 or None if not found