export const validateDeployment = event => {
  const { body } = parse(event);
  if (!hasState(body)) {
    return false;
  }