code: def validate_target(self, target):
          
  
          archs = target.split('/')
  
          for arch in archs:
              if not arch in self.archs:
                  return False
  
          return True
docs: Make sure that the specified target only contains architectures that we know about.