code: def validate_profile_exists(self):
          
  
          if self.args.profile_name not in self.profiles:
              self.handle_error('Could not find profile "{}"'.format(self.args.profile_name))
docs: Validate the provided profiles name exists.