code: public static function isValidPHPValue($value, InputType $type)
      {
          $errors = Value::coerceValue($value, $type)['errors'];
  
          return $errors
              ? array_map(
                  static function (Throwable $error) {
                      return $error->getMessage();
                  },
                  $errors
              ) : [];
      }
docs: @deprecated as of 0.12 (Use coerceValue() directly for richer information)
  
  @param mixed[] $value
  
  @return string[]