old_contents: class PrefixCode:
  
      def isOne(self, words):
          for word in words:
              for check in words:
                  prefix = check[0:len(word)]
                  if word == prefix:
                      return True
          return False
  
  this = PrefixCode()
  
  val = this.isOne({"10001", "011", "100", "001", "10"})
  print(val)
new_contents: class PrefixCode:
  
      def isOne(self, words):
          for word in words:
              for check in words:
                  prefix = check[0:len(word)]
                  if word == prefix:
                      return True
          return False
  
subject: Update prefixcode.py